A C library containing useful string functions. GitHub repo: strtools
There is a better library called SDS.