Answer Posted / Anupam Kumar Gautam
1. length(): Returns the length of a string.n2. substring(start, end): Extracts a part of the string from the specified index range.n3. toUpperCase()/toLowercase(): Converts the entire string to upper or lower case respectively.n4. trim(): Removes leading and trailing whitespaces from a string.n5. replace(oldChar, newChar): Replaces all occurrences of an old character with a new one.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers