

We have already discussed strings in detail earlier. What more can there be to know? Well, did you know that strings are also objects and have methods which do everything from checking part of a string to stripping spaces!
The strings that you use in program are all objects of the classstr. Some useful methods of this class are demonstrated in the next example. For a complete list of such methods, seehelp(str).