String length: Difference between revisions

m
→‎Byte Length: fixed a closing lang tag; planned: a check
m (→‎Byte Length: fixed a closing lang tag; planned: a check)
Line 117:
return 0;
}</lang c>
or by hand:
 
Line 142:
return 0;
}</lang>
 
===Character Length===
For wide character strings (usually Unicode uniform-width encodings such as UCS-2 or UCS-4):