Return to Kroll Web 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:




©2010 Kroll Web Design    davidarthurkroll@verizon.net    781.910.3694