BASELINE NowYouCanUse.com
Limited Availability

String substr()

The substr() method of strings returns part of a string, starting from an index and ending a given number of characters after.
Baseline Status: This feature is currently Limited (not yet Baseline). Latest engine implementation shipped on Jul 29, 2015.
Desktop Browser Engine Support
Google Chrome
1
Supported
Mozilla Firefox
1
Supported
Apple Safari
1
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
18
Firefox Android
4
Safari iOS
1
Specifications and References
id: string-substr