String length: Difference between revisions

Content added Content deleted
No edit summary
Line 1,804: Line 1,804:


=={{header|LiveCode}}==
=={{header|LiveCode}}==
LiveCode fully supports Unicode characters since version 7
===Char Length===
ASCII only older Xtalk environments such as Apple's HyperCard did not natively support unicode characters, although being extensible with externals, could possibly have add-on support.
<lang LiveCode >put the length of "Hello World" -- ASCII method, older Xtalk languages like HyperCard did not natively support Unicode </lang>

===Character Length===
<lang LiveCode >put the length of "Hello World" </lang>
or
or
<lang LiveCode >put the number of characters in "Hello World" -- 'chars' short for characters is also valid</lang>
<lang LiveCode >put the number of characters in "Hello World" -- 'chars' short for characters is also valid</lang>
Line 1,815: Line 1,818:
===Byte Length===
===Byte Length===
<lang LiveCode>put the number of bytes in "Hello World" -- use byte keyword in LiveCode for multi-byte Unicode</lang>
<lang LiveCode>put the number of bytes in "Hello World" -- use byte keyword in LiveCode for multi-byte Unicode</lang>



=={{header|Logo}}==
=={{header|Logo}}==