hi
i'm using
to replace duplicates in a string used to build an sql string.
i.e. i could have...
1,2,201,55,202,3,40,55, 555, 22, 222, 22
so if i use the replace on the 22 it SHOULD only replace the other 22. whats happening is its replacing the 222 as well. the same will happen for the 555.
can i use this to replace only if its a full match, i.e. the whole string?
Thanks
i'm using
Code:
mystring = replace(mystring, aValue, "")
to replace duplicates in a string used to build an sql string.
i.e. i could have...
1,2,201,55,202,3,40,55, 555, 22, 222, 22
so if i use the replace on the 22 it SHOULD only replace the other 22. whats happening is its replacing the 222 as well. the same will happen for the 555.
can i use this to replace only if its a full match, i.e. the whole string?
Thanks