About This Product
Metachecker.net | FontsMadeEasy.com | RankChecker.net
| Over 5000 Free Fonts | Tutorials | Javascript Forum | Other Javascript Resources | Cheat Sheet


Split String


The substring() function allows you to pull out any combination of characters from a string. In this example, an unformated date string such as 19990422 (which represents April 22, 1999) can be split up into 1999, 04, and 22. Each of these are separate variables that you can deal with independently in your scripts! Neat!

 
 
Insert into <HEAD>

 
Insert into <BODY>

 
Other Options