The strreplace Statement

The strreplace statement replaces one or more characters in a source string and stores the modified string in an output string. The string source argument (second) can be the same variable as the string destination (first) argument to replace without copying the string. The index of the character(s) to be replaced is specified via the third argument. The new value (fourth) argument can be a string, in which case multiple characters are replaced. The syntax of the strreplace statement is shown below.

 // replace strValues[idx] with newStr in strNew
 strreplace strNew, strValues, idx, newStr

Generated by  doxygen 1.6.2