s#i

s#i -- produce the i-th character from a string s.

If i is negative and the length of the string is n, then the (n-i)-th character is provided.

See also String.

Go to main index.

Go to concepts index.