ReplaceNocase()

Looks for the occurences of a given substring within a string, replacing it with a new one, ignoring all case issues

Usage

STRING = ReplaceNocase( string, substring, new, flag )
Argument Summary
string string
substring substring to look for
new new string
flag flag to determine if all or just the first is to be replaced - ONE [default] / ALL [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

ReplaceNocase(
   string=?, 
   substring=?, 
   new=?, 
   flag=?
);

Supports passing parameters as a structure using ArgumentCollection:

ReplaceNocase( ArgumentCollection={
   string : ?, 
   substring : ?, 
   new : ?, 
   flag : ?
} );