...
Try out this sample code in the Translator and use the annotation window to see the results:
Code Block | ||
---|---|---|
| ||
local myString = "Hello, World!" local stringLength = #myString trace("Length of the string: "..stringLength) |
Use the Annotation Window to see the # operator capture the string length.
...
See related: