View Single Post
Old 11-27-2012, 07:30 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,165
Just a little followup.

If this is indeed searching and replacing a list of 1000 different words, be careful because it is very easy to screw yourself up.

You need to look through the list of replacements. If you are using a word as a replacement word and somewhere else using that word as the word to be replaced then you need to make sure that you do them in the proper order.

for example:

I want to replace:

word 1 with word 2
word 2 with word 3

If I do them in that order then I will replace word 1 with word 2. On the next replace word 2 with word 3 I will be replacing all the original word 2s and all the word 2s that I just created with my replace word 1 with word 2.

So, to achieve the actual results I want I need to do them backwards. I need to first replace word 2 with word 3 then I can do the replace of word 1 with word 2.

That make sense?

.
__________________
All cookies cleared!

Last edited by sarettah; 11-27-2012 at 07:31 PM..
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote