stock
xs_strtrim
Syntax
stock xs_strtrim(stringtotrim[], charstotrim, bool:fromleft = true)
Description
Remove @charstotrim number of characters from @stringtotrim,
either from the beginning or the end of the string.
Parameters
| 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. |
Return
This function has no return value.