CBA_fnc_rightTrim

Description

Trims specified characters (all whitespace by default) from the right end of a string.

See CBA_fnc_leftTrim and CBA_fnc_trim.

Parameters

_stringString to trim [String]
_trimCharacters to trim [String] (default: “”)

Returns

Trimmed string [String]

Example

_result = [" frogs are fishy   "] call CBA_fnc_rightTrim;
// _result => " frogs are fishy"

Author

Spooner, joko // Jonas, SilentSpike

Trims specified characters (all whitespace by default) from the left end of a string.
Trims specified characters (all whitespace by default) from the both ends of a string.
Close