home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / c / 13384 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.1 KB

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