string sanitizer in c.