Note that this won't work if the delimiter (called "delimeter" here :) is at the end or at the beginning of your string.$str = "text delimeter text delimeter text"; @a = split(/\s+(delimeter)\s+/, $str);
In reply to RE: Re: splitting
by snowcrash
in thread splitting
by Eugene
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |