Case Insensitive

Is there away to make the Replace function case insensitive.

Replace(‘Host=“ACfile01”’,‘Host=“vCHPprt02”’)

I also want to be able to replace the following line

Replace(‘Host=“ACFile01”’,‘Host=“vCHPprt02”’)

You could use the -replace operator instead of the .Replace() method.

"FooBar" -replace "foo","Tango"