VBScript Binary Replace Function
Posted on 2007-10-06
I'm looking for some kind of function that will do a binary replace. So it needs to be the same as the regular Replace function in vbscript, but I need to be able to submit binary data. So implemented, this function would would like this:
MyNewBinaryData = BinaryReplace(MyOldBinaryData, BinaryToFind, BinaryToReplaceWith)
I've started to hack together away to accomplish what I need using MidB, but I can't seem to make it work without messing up my binary data.