String length: Difference between revisions
Adds slope example
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
(Adds slope example) |
||
Line 3,029:
=={{header|Slate}}==
<syntaxhighlight lang="slate">'Hello, world!' length.</syntaxhighlight>
=={{header|Slope}}==
To get length in "runes" (as [[Go]] and slope think of them):
<syntaxhighlight lang="slope">(length "møøse")</syntaxhighlight>
To get length in bytes:
<syntaxhighlight lang="slope">(length (string->bytes "møøse"))</syntaxhighlight>
=={{header|Smalltalk}}==
|