JavaScript String Methods

JavaScript String Methods


JavaScript Strings Methods
In this Tutorial, we will learn about JavaScript String methods with the help of following below:
There are various methods in JavaScript is as follows:
 
Method 
 
Description
 
 
Returns the length of the string 
 
 
Joins the string one or more strings 
 
 
Removes the white spaces from the beginning and end of the string 
 
 
Replaces old string with the new string 
 
 
Returns the part of the string 
 
 
 
Returns the part of the string 
 
 
Returns the position of specified word
 
 
Returns the last occurrence of specified word
 
 
Returns the part of the string
 
 
Convert string into array
 
 
Returns true if string includes the specified word