Can I make StrReplace NOT case sensitive?

The StrReplace pilotscript function is case sensitive. However sometimes I would like it be able to make matches that are not case sensitive. Is there an easy way to do this? E.g. if I execute this #x:='Bob'; y:=StrReplace('Joe-bob',#x,'Steve') then bob won't get changed to steve in the StrReplace function. I realize I could just force items 1 and 2 in the StrReplace to lower case, but often I don't want to do that.