help me with strings
Spmg*d, Lord of Potted Meat Product
cshort at haywire.crl
Tue May 21 08:01:06 AEST 1991
c novice here
i have a large string about 9k and there are some
characters i need to strip out '^M', i'm not sure
how i can do that. i was thinking copy the sting
into an array then just scan for ^M and replace with
spaces. unfortunitly i don't speak enough c to do this.
the string is called dna, and the array is called dnary
any ideas.
thanks
cshort at nmsu.edu
--
|----------------------|---------------------- |
|the world is spam and | Chris Short |
| we are but the key | Computing Research Labatory |
|--------|-------------| Box 30001/3 CRL |
| New Mexico State University |
| Las Cruces, NM 88003-0001 |
| Email: Cshort at nmsu.edu Fax:505 646 6218|-------------------|
| Voice: 505 646 6216 |SpamKey productions|
| -------------------------|-------------------|
More information about the Comp.lang.c
mailing list