Length
From OxeyeWiki
(Difference between revisions)
Jeb (Talk | contribs)
(Created page with '{{GUIMethod | WChar:length() | Fetches the length of the string object, counted in characters. | {{NoParams}} | Returns the length of the string object. }} === Example === <pre> ...')
(Created page with '{{GUIMethod | WChar:length() | Fetches the length of the string object, counted in characters. | {{NoParams}} | Returns the length of the string object. }} === Example === <pre> ...')
Latest revision as of 22:51, 8 March 2009
|
WChar:length() | ||
|
Fetches the length of the string object, counted in characters. | ||
| Parameter | Expected Type | Description |
| No parameters | ||
| Returns | ||
|
Returns the length of the string object. | ||
Example
local text = WChar("abcde")
text:length() -- returns 5