http://www.w3schools.com/jsref/jsref_substr.asp
Anonymous
Don't force yourself or others to reimplement functionality.