4 ms·
This is a tiny bit more hardcore because it also trims any whitespace from the beginning and end of the string, and it strips out all newline chars. It's very h
by rrrrrrrrrrrryan 3y ago
This is a tiny bit more hardcore because it also trims any whitespace from the beginning and end of the string, and it strips out all newline chars. It's very handy quite often, though.