Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_String_Replace

CSV_String_Replace

Returns a string in which a specified substring has been replaced with another substring a specified number of times.

Syntax

CSV_String_Replace(sTextString,sFind,sReplace,iStart,iCount)

#sTextString:

Expression containing substring to replace.

#sFind:

Substring being searched for.

#sReplace:

Replacement substring.

#iStart:

Optional. Position within expression where substring search is to begin. If omitted, 0 is assumed.

#iCount:

Optional. Number of substring substitutions to perform. If omitted, the default value is -1, which means make every possible substitution.