String length: Difference between revisions
Content added Content deleted
(→{{header|Wren}}: Combined into one script, added output plus syntax highlighting.) |
|||
Line 3,251: | Line 3,251: | ||
=={{header|Wren}}== |
=={{header|Wren}}== |
||
===Byte Length=== |
|||
<lang ecmascript>// Byte length |
|||
System.print("møøse".bytes.count) |
<lang wren>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) |
||
⚫ | |||
System.print() |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
System.print("𝔘𝔫𝔦𝔠𝔬𝔡𝔢".count) |
System.print("𝔘𝔫𝔦𝔠𝔬𝔡𝔢".count) |
||
System.print("J̲o̲s̲é̲".count) |
System.print("J̲o̲s̲é̲".count) |
||
</lang> |
|||
{{out}} |
|||
<pre> |
|||
7 |
|||
28 |
|||
13 |
|||
5 |
|||
7 |
|||
8 |
|||
⚫ | |||
=={{header|x86 Assembly}}== |
=={{header|x86 Assembly}}== |