by riffraff · 9y ago · 0 comments
well, that's certainly one way to avoid another `leftPad` mess :)
That is, if you had the strings "a" and "é" (where the latter is "e\u0301") padded "equally" to length 3, leftpad would pad them approximately thusly:
__a
_é
> leftpad('e\u0301', 3, '_');
<- "_é"