Follow

it continues to baffle me why printf-style string formatting functions don't support a maximum length for strings that truncates to the first N character.s. While I recognize that you can eventually get to needing more elaborate preprocessing, that basic capability really handles quite a few cases when you want a fixed-width output

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.