Forum Moderators: open
"
// This takes a substring from the 4th to last character
// in the string until the end. The length property
// returns a number equal to, as its name implies, the length
// of the string.
birthday = demoString.substring(demoString.length - 4);
"
Just use substring(0,...) to get a "[Text tha]t is" instead of "Text tha[t is]"
Oh wait, gotta do my teachers proud! RTFM! (j/k) :p