xs_replace

Синтаксис

stock xs_replace(text[], len, const what[], const with[])

Употреба

text
The text to search in.
len
The maximum size of the @text buffer.
what
What to search for.
with
What to replace occurencies with.

Описание

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

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

Returns the number of replaced items.