Compare Revisions

String.prototype.substr()

Change Revisions

Revision 64762:

Revision 64762 by Maian on

Revision 64763:

Revision 64763 by Mmorearty on

Title:
substr
substr
Slug:
JavaScript/Reference/Global_Objects/String/substr
JavaScript/Reference/Global_Objects/String/substr
Tags:
"String Methods"
"String Methods"
Content:

Revision 64762
Revision 64763
n84document.writeln("(-20, 2): ", str.substr(1,20));n84document.writeln("(-20, 2): ", str.substr(-20,20));
t94(-20, 2): bcdefghijt94(-20, 2): abcdefghij

Back to History