string_replace_all
Declaration
string_replace_all :: fn (str: string, c: u8, with: u8) s32
Description
Replace all found occurrences of character c
in the input string with with
character and return count of replacements made. This function cannot be used with
constant string literals as input.
Arguments
str
Input string.c
Character to be replaced.with
Replacement.
Result
Count of replacements made.
Declared in: string.bl