Wasn't really sure how to word this in the subject, but basically here is my situation and I'm trying to figure out a work around without doing tons of steps :).
I have a string for example tmpString = "1,2,3,4,5,6,7,10,11,12,21,101,102,202,1001"
I want to remove the 1 from the string so I would use
replace(tmpString, "1", "")
This would result in the string now being (all the 1's are gone)
",2,3,4,5,6,7,8,9,0,,2,2,0,02,202,00"
if I replace "1," The 101, would get changed to 10
Same thing will happy when I want to replace 2. Etc.
I hope that makes sense. Curious if anyone has a trick up their sleeve for this. I though about making it "01,02,03" But the string is being built from array and loop indexes.
I'm not too familiar with Regex, so maybe there is something there I can use?
Thanks.