home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 5047 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  722 b 

  1. Path: sparky!uunet!dtix!darwin.sura.net!uvaarpa!mmdf
  2. From: toro.MTS.ML.COM!scott%beethoven@uunet.uu.net (Scott Strool)
  3. Newsgroups: comp.lang.perl
  4. Subject: @ARGV
  5. Message-ID: <1992Jul31.003911.12553@uvaarpa.Virginia.EDU>
  6. Date: 31 Jul 92 00:39:11 GMT
  7. Sender: mmdf@uvaarpa.Virginia.EDU (Mail System)
  8. Reply-To: Scott Strool <toro.MTS.ML.COM!scott%beethoven@uunet.uu.net>
  9. Organization: The Internet
  10. Lines: 13
  11.  
  12. How can I get the individual characters from the command line variable.
  13. for instance if the user entered 'xbr'. I want to know that the first char
  14. is 'x', second is 'b' and third is 'r'.
  15.  
  16. thanks,
  17. srs
  18. Scott Strool
  19. Consultant
  20. Merrill Lynch & Co Inc.
  21. Tel: (212) 449-1456
  22. Fax: (212) 449-1465
  23. scott@ml.com
  24. uunet!toro!scott
  25.