Predefined function reference

string_trim_end

A reference entry for string_trim_end

Predefined function · string

string_trim_end (string text[, string search]) ⇒ string

Trims a string, text, at the end, removing all instances of a character. If no search parameter is given, the function simply takes the space character and trims the string of it.

Alternative function names: str_trim_end