The String object is used to manipulate a stored piece of text.
For a complete reference of all the properties and methods that can be used with the String object, go to our complete String object reference.
The reference contains a brief description and examples of use for each property and method
Examples of use:
The Below example uses the length property of the String object to find the length of a string:
The code above will result in the following output:
The Below example uses the toUpperCase() method of the String object to convert a string to uppercase letters:
Your Query was successfully sent!