String sanitizer