in reply to A string that begins with $ (again)
The main problem is now not printing out a string, but getting a part of a string. And note that you've started a *new* thread, rather than continuing the old thread (it's really the same problem, and somebody coming into the conversation late isn't going to easily be able to figure out what the heck you're talking about.
Without any specifics, the only thing I can tell you is that you need to figure out the *pattern* of the strings you have and what marks off the data you want from the data you don't want in those strings. The tool for this is a regular expression; perldoc perlre on your system documents how to use these, but for a gentler introduction, you might peruse the Tutorials section of this site, especially those parts of it that pertain to regular expressions.
HTH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A string that begins with $ (again)
by johan_paz (Initiate) on Apr 25, 2001 at 04:36 UTC | |
by rchiav (Deacon) on Apr 25, 2001 at 04:55 UTC | |
by johan_paz (Initiate) on Apr 25, 2001 at 05:22 UTC | |
by rchiav (Deacon) on Apr 25, 2001 at 05:29 UTC |