the
len
of
factor
len
(
expression )
Factor and expression yield string
s.
put
len
("tail") into it -- yields 4
put
len
("Nu är det slut…") -- yields 15
if the
len
of word n of steve > 25 ¬
then add 1 to fogIndex
The len
function returns the number of characters (including spaces, tabs, line breaks, and other control and formatting characters) in the string
passed to it.
The expression
is identical in effect to len
(factor)the number of characters in factor
but is more efficient.