ObjectScript also provides typical string functions.
USER>write $length("how long is this?")
17
USER>write $extract("there's gold in those hills", 9, 12)
gold
USER>write $extract("there's gold in those hills", *-4, *)
hills
USER>write $find("there's gold in those hills", "gold")
13
USER>write $piece("slice of cheese pizza", " ", 4)
pizza
USER>write $piece("slice of cheese pizza", " ", *-1)
cheese
USER>write $justify(3.1415, 10, 3)
3.142
USER>