String length: Difference between revisions
Content added Content deleted
(→{{header|Wren}}: Added output and syntax highlighting to both scripts.) |
|||
Line 3,252: | Line 3,252: | ||
=={{header|Wren}}== |
=={{header|Wren}}== |
||
===Byte Length=== |
===Byte Length=== |
||
<lang |
<lang ecmascript>System.print("møøse".bytes.count) |
||
System.print("𝔘𝔫𝔦𝔠𝔬𝔡𝔢".bytes.count) |
System.print("𝔘𝔫𝔦𝔠𝔬𝔡𝔢".bytes.count) |
||
System.print("J̲o̲s̲é̲".bytes.count) |
System.print("J̲o̲s̲é̲".bytes.count)</lang> |
||
⚫ | |||
{{out}} |
|||
<pre> |
|||
7 |
|||
28 |
|||
13 |
|||
⚫ | |||
===Character Length=== |
===Character Length=== |
||
<lang |
<lang ecmascript>System.print("møøse".count) |
||
System.print("𝔘𝔫𝔦𝔠𝔬𝔡𝔢".count) |
System.print("𝔘𝔫𝔦𝔠𝔬𝔡𝔢".count) |
||
System.print("J̲o̲s̲é̲".count) |
System.print("J̲o̲s̲é̲".count)</lang> |
||
⚫ | |||
{{out}} |
|||
<pre> |
|||
5 |
|||
7 |
|||
8 |
|||
⚫ | |||
=={{header|x86 Assembly}}== |
=={{header|x86 Assembly}}== |