What are the methods of string object in javascript?
Explanation
String Object
An object is nothing but a class or file with a group of functions or methods. In javascript
strings are stored as string objects. We can declare a string in either of the two ways
a) var sname = "testing string object";
b) var sname = new String("testing string object");
Both results in the same string object. String object contains some predefined function or methods
that are extensively used in javascript.
Javascript (JS) is one of the most used languages in the world. Some times spelled as Java Script.
Hope you enjoy this tutorial. Do send your feedback or suggestions on this javascript or java script tutorial. This is a copyright content.