If you're seeing this message, it means we're having trouble loading external resources on our website.
If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.
To log in and use all the features of Khan Academy, please enable JavaScript in your browser.
SUBSTRING (string, startPos, numChars)
string
startPos
numChars
userBday ← "03/31/1984"
DISPLAY (SUBSTRING (userBday, 0, 1))
DISPLAY (SUBSTRING (userBday, 0, 3))
DISPLAY (SUBSTRING (userBday, 0, 2))
DISPLAY (SUBSTRING (userBday, 1, 2))
DISPLAY (SUBSTRING (userBday, 1, 3))
DISPLAY (SUBSTRING (userBday, 1, 1))