STRL is a CAOS function to return string length.
Syntax: STRL str (string)
Returns, as an integer, the length of str.
OUTV STRL "" 0 OUTV STRL "abcd" 4
Not much more to it, really.