Case Insensitive

This topic contains 1 reply, has 2 voices, and was last updated by  Bob McCoy 2 years, 7 months ago.

  • Author
    Posts
  • #24973

    Mikhael Kaendera
    Participant

    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"')

  • #24974

    Bob McCoy
    Participant

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

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

You must be logged in to reply to this topic.