Return to Kroll Design home page

JavaScript Tutorials

 
« Return

substring() method for strings

The substring method extracts a string from the specified string, starting at the given location. An optional second parameter indicates the position of the first character you DON'T want.

Code and Output:



 
« Return


©2012 Kroll Design    info@KrollDesign.net    781.910.3694
Last modified: 12/31/1969 7:00 PM