Re: Converting string to array?
- From: "Jürgen Exner" <jurgenex@xxxxxxxxxxx>
- Date: Tue, 12 Sep 2006 14:30:29 GMT
Samuel Hardman wrote:
Hello,
I am trying to write a perl script to parse a string into an array.
The string has the fields separated by tabs. So what I want to do is
read each field into a variable so I can process the data further.
See split(). It does exactly what you are asking for.
BTW: this NG has been discontinued about a decade ago and replaced by the
the comp.lang.perl.* hirarchy. If you Usenet provider still carries it
instead of the 'new' hirarchy you may wonder what else he is missing.
jue
.
- Follow-Ups:
- Re: Converting string to array?
- From: Sam Hardman
- Re: Converting string to array?
- References:
- Converting string to array?
- From: Samuel Hardman
- Converting string to array?
- Prev by Date: Re: File Handle Issue
- Next by Date: Re: Converting string to array?
- Previous by thread: Re: Converting string to array?
- Next by thread: Re: Converting string to array?
- Index(es):
Relevant Pages
|
|