ok.. you are in vb6?? replace parameters are:
string to look into
string to change
string to change to...
so would like to see have are you coding this. Also your aproach has a very good problem in your test case, because it will try to replace the string in orders it found, making it fail because you have 2 origin string that start the same...
your example was good from the point of view of
vb(it replace the string).. replace only look for strings.. not tables or arrays of examples..
did you follow me??
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========