say I have an utf-8 encoded string that I want to truncate to a certain number of bytes.
That's an XY Problem if ever I heard one. What are you really trying to do?
In reply to Re: truncate string to byte count
by hippo
in thread truncate string to byte count
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |