rxn.utilities.strings

Functions

escape_latex(text)

Escape special LaTex characters in a string.

remove_postfix(text, postfix[, raise_if_missing])

Removes a postfix from a string, if present at its end.

remove_prefix(text, prefix[, raise_if_missing])

Removes a prefix from a string, if present at its beginning.