left
Syntax: %left(string,len)
return the leftmost len characters of the string
Examples:
#SHOW %left("abcdef",2)
displays: ab
#SHOW %right("abcdef",2)
displays: cdef
#SHOW %leftback("abcdef",2)
displays: abcd
#SHOW %rightback("abcdef",2)
displays: ef
memory aid:
%left(anystring,anynumber) plus %right(anystring,anynumber) is "anystring"
%leftback(anystring,anynumber) plus %rightback(anystring,anynumber) is "anystring" |