SyntaxFix
Write A Post
Hire A Developer
Questions
If you're using glib, then you can use g_strstrip
glib