String length: Difference between revisions

Content added Content deleted
Line 3,605: Line 3,605:
{{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 HyperTalk do not support non-ASCII characters without an external add-on </lang>
<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>
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>
Line 3,611: Line 3,611:
===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>

===Character Length===
{{needs-review|xTalk}}
<lang xtalk>put the length of "Hello World"</lang>

or

<lang xtalk>put the number of characters in "Hello World"</lang>


=={{header|Yorick}}==
=={{header|Yorick}}==