in reply to truncate string to byte count
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: truncate string to byte count
by morgon (Priest) on Feb 28, 2019 at 10:02 UTC | |
by karlgoethebier (Abbot) on Mar 01, 2019 at 10:03 UTC | |
Re^2: truncate string to byte count
by stevieb (Canon) on Feb 27, 2019 at 23:34 UTC |
In Section
Seekers of Perl Wisdom