Mega Code Archive
Categories
/
JavaScript DHTML
/
Language Basics
Reading a Portion of a String
String Slicing and Dicing, Part II
String substr() Method
Text used for the methods:
This is a test
String Method
Method Parameters
string.substr()
(
0
1
2
3
5
,
(None)
5
10
20
)