remove_trailing_string

remove_trailing_string(s: str, t: str) str[source]

Remove a trailing string if it exists.