xs_replace_char

Синтаксис

stock xs_replace_char(text[], len, what, with)

Употреба

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.

Описание

Replaces all occurencies of @what character in @text with @with character.

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

The number of replaced characters.