Projects / Intermediate

🔤 Fix a "20 characters max" check that miscounts, by counting graphemes

What you end up with

A function that counts one visible character as 1, a truncate that never cuts through a character, and a nickname check that also catches broken characters and the database column limit. And when someone says "number of characters", you know to ask: counted how?

🔒

Create a free account to read this project

Sign up for a free membership to read every free project. Already have an account? Please sign in.

Other projects

← Back to all projects