String length: Difference between revisions

Content added Content deleted
Line 3,623: Line 3,623:
{{works with|HyperCard}}{{works with|LiveCode}}
{{works with|HyperCard}}{{works with|LiveCode}}
===Char Length===
===Char Length===
<lang xtalk>put the length of "Hello World" -- older Xtalk languages like HyperCard's HyperTalk do not support non-ASCII characters without an external add-on </lang>
Note: That older Xtalk languages such as HyperCard's HyperTalk did not support non-ASCII characters natively.
LiveCode fully supports multi-byte Unicode characters since version 7. See the LiveCode section for more information.

<lang xtalk>put the length of "Hello World" </lang>
or
or
<lang xtalk>put the number of characters in "Hello World" -- 'chars' short for characters is also valid</lang>
<lang xtalk>put the number of characters in "Hello World" -- 'chars' short for characters is also valid</lang>