Jump to content

String length: Difference between revisions

→‎{{header|Wren}}: Added output and syntax highlighting to both scripts.
(Undo revision 302650 by PureFox (talk) Oops, should have read the task description properly!)
(→‎{{header|Wren}}: Added output and syntax highlighting to both scripts.)
Line 3,252:
=={{header|Wren}}==
===Byte Length===
<lang wrenecmascript>System.print("møøse".bytes.count)
System.print("𝔘𝔫𝔦𝔠𝔬𝔡𝔢".bytes.count)
System.print("J̲o̲s̲é̲".bytes.count)</lang>
 
</lang>
{{out}}
<pre>
7
28
13
</langpre>
 
===Character Length===
<lang wrenecmascript>System.print("møøse".count)
System.print("𝔘𝔫𝔦𝔠𝔬𝔡𝔢".count)
System.print("J̲o̲s̲é̲".count)</lang>
 
</lang>
{{out}}
<pre>
5
7
8
</langpre>
 
=={{header|x86 Assembly}}==
9,490

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.