Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

Substr() Syntax Parameters and Note

Note: Get string's sub string.      Syntax:      stringName.substr(param1, param2) Parameters:     param1   Required; the character number.     param2   Required; the length of the subset string.