Allam Reddy, Thomas <[EMAIL PROTECTED]> asked:
> I have a string "jdbc/abc.xml" which I wanted to tokenize 
> using the delimiter "/"
> May I know the perl code for this?

my $string = 'jdbc/abc.xml';
my @tokens = split /\//, $string;

print 'Tokens: ' , join( ',', @tokens ), "\n";

HTH,
Thomas

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


Reply via email to