String length: Difference between revisions
Add Plain English
(→Lua: add unicode method) |
Jazzedpineda (talk | contribs) (Add Plain English) |
||
Line 2,593:
ucs4length := LENGTH4(string);
END;</syntaxhighlight>
=={{header|Plain English}}==
===Byte Length===
{{libheader|Plain English-output}}
Plain English does not handle Unicode, so strings return their length in bytes.
<syntaxhighlight lang="text">
To run:
Start up.
Put "møøse" into a string.
Write the string's length to the output.
Wait for the escape key.
Shut down.
</syntaxhighlight>
=={{header|Pop11}}==
|