For an integer..
digit = mid( str( theInteger ), xpos, 1 ) )
For a string...
character = mid( theString, xpos, 1 )
xpos = the position of the digit / character you want to retrieve. Remember 0 is the very first character, 1 the second and so on.
Explained here -System Expressions
About half way down the page under TEXTprocrastinator2013-01-05 19:07:56