Perl wrote: > > Hi, Hello,
> i am new to Perl. > here is my question .... > > i have a character string like abc#def#ghi#jkl > > i want to split the string based on the delimiter # so that i get > something like this : > > abc def ghi jkl > > But > > @temp = split(/#/, "abc#def#ghi#jkl") ; > > doesn't seem to work. > > am i doing anything wrong here ? Nothing. $ perl -le' @temp = split(/#/, "abc#def#ghi#jkl"); print for @temp; ' abc def ghi jkl John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>