Jump to content

String length: Difference between revisions

no edit summary
(→‎{{header|Wren}}: Added output and syntax highlighting to both scripts.)
No edit summary
Line 2,999:
{{works with|Swift|1.0-1.1}}
<lang swift>let numberOfBytesUTF16 = countElements("møøse".utf16) * 2 // 10</lang>
 
=={{header|Symsyn}}==
===Byte Length===
<lang symsyn>
c : 'abcdefgh'
#c []
</lang>
Output:
<pre>
8
</pre>
 
=={{header|Tcl}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.