String manipulation is a daunting task, especially if you don’t know where to start, and string.js is just about the perfect library for everyday string manipulation tasks.
As everyone — I really mean everyone — who is a JS developer, needs to do some string magic at some time, and sometimes it’s hard to get through the logic and syntax through it.
String.js features several welcome methods for string manipulation:
- Collapse Whitespaces;
- Add dashes;
- Determine if a string has some term in it;