On Nov 4, 5:16 am, [EMAIL PROTECTED] (Peter Scott) wrote:
> On Mon, 03 Nov 2008 21:12:40 -0800, sanju.shah wrote:
> > I have a string: "   Confirming: yes                 Supplier
> > Telephone: 213-923-0392"
>
> > I want to split the string so that i can capture yes in $conf and
> > 213-923-0392 in $tele.
>
> > TIA for all the help,
>
> What have you tried so far?  When you read perldoc -f split. what does
> that suggest to you?
>
> --
> Peter Scotthttp://www.perlmedic.com/http://www.perldebugged.com/


my String = "Order Number: asc100    Revision:   0"

I have been trying to split the string based on the Text before the
":" sign to get the data following the ":" sign.

      @Order_Line1 = split (/ +Revision:/i, "$'") if ($form_line =~ /
Order Number:/i);

without any luck though :(


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to