the
length
of
factor
length
(
expression )
Factor and expression yield string
s.
put
length
("tail") into it -- yields 4
put
length
("Nu är det slut…") -- yields 15
if the
length
of word n of steve > 25 ¬
then add 1 to fogIndex
The length
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 length
(factor)the number of characters in factor
but is more efficient.