> I want to slice up this variable into a single variable and > loop until its empty The variable is seperated via ! > explnation points and I want the numbers. This string can be > various in length ? Note it doesnt end with that delimiter. Help > > example > > $jims = "!23!45!67
How about: my $jims = "!23!45!67"; my @nums = (); push @nums,$1 while $jims =~ /!?(\d+)/g; If that doesn't solve your problem, could you please post more data or examples of what you've tried that hasn't worked? Cheers, -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]