Remove duplicate character from string...........?
Author |
Message |
alpesh
![](http://compsci.ca/v3/uploads/user_avatars/69222709846089e6556515.jpg)
|
Posted: Tue Mar 13, 2007 6:21 am Post subject: Remove duplicate character from string...........? |
|
|
can any body having idea about my problem
Remove duplicate character from string...........?
plz..... in Turbo C |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Tue Mar 13, 2007 8:20 am Post subject: Re: Remove duplicate character from string...........? |
|
|
well, you could search through your "string" and look for double characters (by comparing the current character to the one before it) and remove one of them if they are the same. |
|
|
|
|
![](images/spacer.gif) |
|
|