code/__HELPERS/text.dm
/proc/sanitize_for_ic | sanitize() with a pre-set list of characters to remove from IC speech. |
---|---|
/proc/trim_length | Returns a string that does not exceed max_length characters in size |
/proc/strip_html_tags | Strips HTML tags (and only tags) from the input. The result may still include HTML entities, like ' for ' |
/proc/client2rankcolour | Proc to generate a "rank colour" from a client |
/proc/format_si_suffix | Formats num with an SI prefix. |
/proc/wiki_link | Creates a hyperlink for a specified wiki article. |