The first argument to split is a regular expression so it is really the difference between using capturing parens in a regular expression or using a regular expression to break the string into pieces but they are both regular expression solutions.
Cheers - L~R
In reply to Re^3: extract the value before a particualr string
by Limbic~Region
in thread extract the value before a particualr string
by nanban
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |