in reply to split this
Actually, it doesn't sound like a job for split. It sounds like a job for a regular expression. Try this:
--my $x = 'E/stYna~ko'; my @chars = $x =~ /(\w\W*)/g; print "@chars\n";
"The first rule of Perl club is you don't talk about Perl club."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: split this
by tye (Sage) on Nov 07, 2001 at 04:04 UTC | |
|
Re: Re: split this
by dmmiller2k (Chaplain) on Nov 06, 2001 at 23:10 UTC |