Shiptest 13 - Modules - Types

code/__HELPERS/text.dm

/proc/sanitize_name returns nothing with an alert instead of the message if it contains something in the ic filter, and sanitizes normally if the name is fine. It returns nothing so it backs out of the input the same way as if you had entered nothing.
/proc/truncate Truncate a string to the given length
/proc/scramble_message_replace_chars Slightly expensive proc to scramble a message using equal probabilities of character replacement from a list. DOES NOT SUPPORT HTML!
/proc/sanitize_css_class_name Removes all non-alphanumerics from the text, keep in mind this can lead to id conflicts