3 ms·
Is that a serious question? Almost every major language has some kind of string trim/strip function for that purpose.
by alayne 13y ago
Is that a serious question? Almost every major language has some kind of string trim/strip function for that purpose.
- 83a 13y agogood point. missed that. but does your text editor have a trim function, too? i've thought of a case i used a regex the last time. and it was removing whitespace in some code file.