length()
Return length of string. You can abbreviate it by writing
len()
.
Syntax:
variable
= length(
string
)
variable
= len(
string
)
Example:
a$="hi there"
'next line will print 8
print(
len(
a$
)
)