xs_strtrim

Синтаксис

stock xs_strtrim(stringtotrim[], charstotrim, bool:fromleft = true)

Употреба

stringtotrim
The string to be trimmed.
charstostrim
The number of characters to trim.
fromleft
If set to true, the string will be trimmer from the left.
If false, it will be trimmed from the right.

Описание

Remove @charstotrim number of characters from @stringtotrim,
either from the beginning or the end of the string.

Връщаща стойност

Тази функция няма връщаща стойност.