Replacing a character in a string
Posted: Thu Apr 02, 2009 5:54 pm
Good evening.
I currently have a string that has values that are seperated by '|'
Because of some strange anomalies in a loop sometimes the '|' doubles up to appear as '||' or even '|||'
Is there any way to simply search the string for occurnces of the two and three | and replace them with a single |?
Thanks in advance
I currently have a string that has values that are seperated by '|'
Because of some strange anomalies in a loop sometimes the '|' doubles up to appear as '||' or even '|||'
Is there any way to simply search the string for occurnces of the two and three | and replace them with a single |?
Thanks in advance