######################################## # lib-string ######################################## # built-in (9) ######################################## # a.length () # a.lower () # a.upper () # a.subpos (sub) # a.substr (pos, len) # Default pos=0, len=MAX, can be negative # a.move (ptr) # ptr: int, copy to ptr # a.x (n) # Replicate n times, or reverse (n = -1) # # sort (n = -2) # a.escape () # \ abtvrnf'"?/\ \x HH \u HHHH # a.format (A1, A2, ... An) # %s # a.eval () # $id ######################################## # 1. a.escape() # \a \b \t \v \r \n \f # \' \" \? \/ \\ # \xHH \uHHHH ########################################