Return the length of a string.

string:get_length(STRING string) : INT

string:get_length('hi')    
#=> 2

string:get_length('')      
#=> 0

string:get_length('世界')  
#=> 2

string:get_length('hello world!')
#=> 12

Copyright ©2013-2022 SunSed®. All rights reserved.