| 1. |
What Are The Various Methods To Manipulate Strings? |
|
Answer» There are various methods to manipulate string that are GIVEN in table: String Methods--->Description toLowerCase():It converts all the string character into lower case. toUpperCase():It converts all the string character into upper case. trim():It returns the string without any leading and trailing whitespace. COMPARETO():It COMPARE objects to another objects. There are various methods to manipulate string that are given in table: String Methods--->Description toLowerCase():It converts all the string character into lower case. toUpperCase():It converts all the string character into upper case. trim():It returns the string without any leading and trailing whitespace. compareTo():It compare objects to another objects. |
|