![]() |
|
#1
|
|||
|
|||
How to remove comma from string?I can't figure it out! I have a string, with a comma somewhere in the middle of it. How can I remove the comma?
|
|
#2
|
|||
|
|||
Re: How to remove comma from string?Can you post what you have tried?
Also what kind of string are you using? CPP / C++ / C Code:
CPP / C++ / C Code:
|
|
#3
|
|||
|
|||
Re: How to remove comma from string?Quote:
With pencil and paper (remember those?) you would erase it. WIth strings, you erase it: CPP / C++ / C Code:
Output: Code:
Regards, Dave |
|
#4
|
|||
|
|||
Re: How to remove comma from string?Sweet. I'm going to try that. I'm a NOOB, so I'm also going to try to understand exactly what all that means too, rather than just copying it. Thanks guys... you saved the day...
|
|
#5
|
|||
|
|||
Re: How to remove comma from string?That totally worked! Thanks so much!!!
|
Recent GIDBlog
Meeting the local Iraqis by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Read a .html file, check that file for links | salemite | C Programming Language | 10 | 17-Jan-2008 07:56 |
| variables return to previous value after i try to set them | nasaiya | MS Visual C++ / MFC Forum | 2 | 14-Jun-2005 00:43 |
| Help wit my source code compiler errors | Krandygrl00 | C++ Forum | 1 | 06-Jun-2005 08:14 |
| Converting string to float | CT++ | C++ Forum | 2 | 10-May-2005 11:29 |
| Removing the last comma in a string | Kurtanator | MySQL / PHP Forum | 2 | 10-Mar-2004 14:58 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The