🛠Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
1.98k
stars
147
forks
source link
Strings improvement: trim ZWSP char #304
Closed
CrazyMuffin closed 11 months ago
Sneaky Zero-Width Space char \u{200B} is currently untrimmed by
trim
function, while I'd expect it to do so.Workaround:
trim()
call