Christopher,

You wrote...
"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."


Here is one way to do it...

$test = "L54";
$pattern = "L";
if ($test =~/^$pattern/) {
 $test =~ s/^$pattern//;
}
print "$test\n";

Here is another way..

$test = "L54";
$pattern = "L";
if ($test eq $pattern) {
   $test = reverse($test);
   chop ($test);
   $test = reverse $test;
   print $test;
}


John Way
IS Professional
Phone (864)503-2939
Fax (864)503-2444
Internal 246-2939



**** Confidentiality Notice: *******************************************
Privileged/Confidential information may be contained in this message
and is intended only for the use of the addressee.  Please advise
immediately if you or your employer do not consent to Internet e-mail
for messages of this kind.  If you are not the addressee, or person
responsible for delivering to the person addressed, you may not copy or
deliver this to anyone else.  If you receive this message by mistake,
please notify the sender immediately by return e-mail.  Thank you.
************************************************************************




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

Reply via email to