Is there any reason a person would NOT want to trim or remove white space from around a string before they compared it to another string? For example if we had a program that was reading in a csv file ...
Java’s String class encapsulates an array of bytes. A byte can be converted to a char, in which case, String becomes an array of characters used to compose words, sentences, or any other data you want ...