home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!hmivax.humgen.upenn.edu!anonymous
- From: anonymous@hmivax.humgen.upenn.edu
- Newsgroups: comp.lang.c
- Subject: Question for the readership . . .
- Summary: Parsing a string for spaces
- Message-ID: <1992Sep9.091622.1@hmivax.humgen.upenn.edu>
- Date: 9 Sep 92 14:16:22 GMT
- Sender: news@netnews.upenn.edu
- Reply-To: perkel_j@a1.mscf.upenn.edu
- Organization: HHMI/Human Genetics, Univ of Pa.
- Lines: 20
- Nntp-Posting-Host: hmivax.humgen.upenn.edu
-
- Hello, everybody! I've got 2 questions for the programming public.
- Please help!
-
- 1. (This one's probably been addressed before . . .) How can I parse a
- command line or string to remove spaces at the end of the string (or, how can
- I test a string to find spaces). Also, how can I test for the presence of any
- character at a specific point.
-
- 2. Given a text file containing a series of structures containing names
- and addresses, if each one is numbered, how can I move the pointer to a
- desired 'record' to modify it (i.e., the user wishes to modify address number
- 26)?
-
- Thank you in advance!
-
- jeff perkel
- perkel_j@a1.mscf.upenn.edu
-
-
-
-