JavaScript substr

The JavaScript substr string function is one of the String functions used to extract the part of a string and return a new string. The syntax of the JavaScript substr function to return results: String_Object.substr(Start, Length) The JavaScript substr function will accept two arguments. The first integer value is the index position where the extraction will start, … Read more