get range of characters in string js code example
Example 1: javascript substring
// zero-based index, 'end' is excluded from result
myString.substring( start, end )
Example 2: straforma in string js
var x = new String("Una nuova stringa");
// zero-based index, 'end' is excluded from result
myString.substring( start, end )
var x = new String("Una nuova stringa");