FANDOM


m
Line 11: Line 11:
   
   
[[Category:API Functions|strlen]]
+
----
[[Category:API String Functions|strlen]]
+
{{WoW API}}

Revision as of 05:56, January 4, 2006

string.len(s)

Return the length of the string passed.

> = string.len("Lua")
3
> = string.len("")
0
> = string.len("Lua\000user")   -- Lua strings are 8 bit pure so \000 does not terminate
8



Template:WoW API

Community content is available under CC-BY-SA unless otherwise noted.