Space Station 13 - Modules - Types

code/__HELPERS/text.dm

/proc/trimReturns a string with reserved characters and spaces before the first word and after the last word removed.
/proc/trim_lengthReturns a string that does not exceed max_length characters in size
/proc/numeric_endingReturns a string depending on number it receives
/proc/sanitize_filenameRemoves characters incompatible with file names.
/proc/format_si_suffixFormats num with an SI prefix.
/proc/endswithReturns TRUE if the input_text ends with the ending