String::substring()
Return the substring of the string between the indexes specified. Indexes are specified in character offsets, not bytes.
"abcdef".substring(1, 3) //-> "bc"
"abc".substring(1, 99) //-> "bc"String::substring() Return the substring of the string between the indexes specified. Indexes are specified in character offsets, not bytes.
"abcdef".substring(1, 3) //-> "bc"
"abc".substring(1, 99) //-> "bc"