The String class has methods for testing the contents of a String. Use one of them to do the checking.
Type: Posts; User: Norm
The String class has methods for testing the contents of a String. Use one of them to do the checking.
To learn how to use a class's methods, write a short simple program with some Strings, use the replace() method and print out the results to see what it does. Experiment some until you understand...
Please explain what you mean by "concept".
Is the problem any more than replacing one String with another String?