On Sat, Dec 13, 2003 at 09:16:35PM -0800, Perl wrote: > Hi, > 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 ?
As John mentioned your split function is working correctly. What "doesn't work?" If you post more of your code it would be helpful. Kent -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>