Describe the purpose and write the syntax of toLowerCase() function.
14 Likes
It converts a string into lowercase characters. If any character is already in lowercase or is a special character then it will remain same.
Syntax:
String <variable-name> = <string-variable>.toLowerCase();
Answered By
8 Likes
Describe the purpose and write the syntax of toUpperCase() function.
Describe the purpose and write the syntax of trim() function.
Describe the purpose and write the syntax of length() function.
Describe the purpose and write the syntax of replace() function.