How do I get the length of a string?
- Jasmin Boller (Deactivated)
Owned by Jasmin Boller (Deactivated)
Q
How do I get the length of a string?
A
With the :len() operator and preceding string variable
Example code:
string_a = “Hello“
len = string_a:len()
-- will result in value 5 for variable len
See also...
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: