ReplaceChars Data Member Function

Replaces a set of chars in the <Str> object with the specified character. Internally, this uses std::find_first_of.

Prototype

int32 ReplaceChars( string p_sNewChars, string p_sReplacement )

Parameters

Parameter Type Parameter Name Documentation
stringp_sNewCharsA string containing the set of characters that will be replaced.
stringp_sReplacementA string containing the character that will replace the specified characters.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Simdify Scripting Language code base.