Extract second and third characters of a string as a string:
eval: string::extract ("fubar", 1, THE 2); "ub"
Another way:
eval: regex::find_first_group 1 ./^.(..).*$/ "fubar"; "ub"