In article <002501c1b66e$b8594340$cbfea8c0@agustinr> wrote "Agustin Rivera" <[EMAIL PROTECTED]>:
> How would I keep the character (or characters) that I am splitting by? > > for example, > > @tags=split(/>/, $line); > > I would like to keep the ">". > print join("\n",split /(?=\>)/, "1>2>3>") 1 >2 >3 > print join("\n",split /(?<=\>)/, "1>2>3>") 1> 2> 3> Greetings, Andrea -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]