Posted 05 January 2015 - 11:12 PM
Hello! i am makeing an api and i need to know how do you get the size of a string (from a var) and put it in another! Thanks!
local str = "string"
print( #str ) --> 6
--# or
print( str:len() ) --> 6
--# or
print( string.len( str ) ) --> 6