It's perlfunc:split of course. Pass it a regular expression and your string and you'll get the array of choice back.
@ary = split(/|/, $string);
Go read the documentation though, split does other nice tricks too.
In reply to Re: Splitting a String
by TheoPetersen
in thread Splitting a String
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |