--- Michael Dube <[EMAIL PROTECTED]> wrote:
> So... if I have a string that contains tabs both at the beginning and
> in the middle, how do I just count the beginning ones?
> . . .
> $test = "\t\t\tsasdfasdftill:\tin\tscope?";
my($inittabs) = $test =~ /^(\t+)/;
print length($itittabs); #=o)
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]