String length: Difference between revisions
Content added Content deleted
(Adds slope example) |
|||
Line 3,031: | Line 3,031: | ||
=={{header|Slope}}== |
=={{header|Slope}}== |
||
To get length in "runes" (as [[Go]] and slope think of them): |
|||
⚫ | |||
=== Character Length === |
|||
To get length in bytes: |
|||
⚫ | |||
=== Byte Lenth === |
|||
<syntaxhighlight lang="slope">(length (string->bytes "møøse"))</syntaxhighlight> |
<syntaxhighlight lang="slope">(length (string->bytes "møøse"))</syntaxhighlight> |
||