@STRREP   [VDS6]

Top  Previous  Next

Syntax:

 

@STRREP(<string>,<find_str>,<repl_str>{,EXACT}{,<ALL>})

 

Description:

 

This function returns the result of replacing <find_str> with <repl_str> in <string>. If the optional argument ALL is specified, then all instances of <find_str> are replaced with <repl_str>. Otherwise just a single replacement is made.

Note that by default the comparison is not case sensitive. The optional argument EXACT may be used to specify a case-sensitive match

 

OK:

 

Unchanged.

 

Example:

 

%R = @strrep(The quick brown fox,brown,red)

 

See also: