javascript:substring
This is an old revision of the document!
JavaScript - SubString
Begin the extraction at position 2, and extract the rest of the string:
var str = "Hello world!"; var res = str.substring(2);
The result of res will be:
llo world!
javascript/substring.1468776576.txt.gz · Last modified: 2020/07/15 09:30 (external edit)