in reply to Re: splitting
in thread splitting
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);
|
|---|