CBA_fnc_trim

Description

Trims white-space (space, tab, newline) from the both ends of a string.

See CBA_fnc_leftTrim and CBA_fnc_rightTrim.

Parameters

_stringString to trim [String]

Returns

Trimmed string [String]

Example

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

Author

Spooner

Trims white-space (space, tab, newline) from the left end of a string.
Trims white-space (space, tab, newline) from the right end of a string.
Close