5.4.2 First character, middle and end of a string : head mid tail
head(s) returns the first character of the string s.
- mid(s,p,q) returns the part of the string
s of size q beginning with the character at index p.
Remember that the first index is 0 in Xcas mode.
- tail(s) returns the string s without its first character.