for my $i(0 .. $#array)
{
        my @data =~ split(//, $array[$i]);
        for my $j(0 .. $#data)
        {
                $data[$j];#This *should* be each character in that element of the first
array.  If someone has a better way to do this, please don't hesitate to
correct me.
        }
}


-----Original Message-----
From: Christopher Fisk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 1:21 PM
To: [EMAIL PROTECTED]
Subject: Doing some text parsing


Hello,

This is my first message to [EMAIL PROTECTED] so I'm not completely sure
of the proper method of asking questions.

First:  Is there a web-based archive of this list?  If So where?
Second: I'm trying to parse some text for a decoding program.  How would I
decode something based on the first letter on a variable in an array?

So if there was L54, L61, dKa, and dRz in an array how could I check the
first letter, then chop it off and use the extra data after that letter?

The L in L54 would tell me what the data actually means, but the 54 is the
part of that data I need to file based on the L it was attached too.

If my explantion of what I need to do is too confusing please let me know.

Any help is appreciated.

Thanks,

Christopher Fisk


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to