xs_replace_char
Syntax
stock xs_replace_char(text[], len, what, with)
Usage
| Parameter | Description |
|---|---|
| text | The text to search in. |
| len | The maximum size of the @text buffer. |
| what | What character to search for. |
| with | What charactear to replace occurencies with. |
Description
Replaces all occurencies of @what character in @text with @with character.
Return
The number of replaced characters.