SplitAt does exactly that.
[url]http://www [dot] devever [dot] net/pegercer/akx/dl/lcdsmartie/splitat [dot] zip[/url] broken link - the file is attached to this post
Syntax
Code: Select all
$dll(splitat,1,string,options)
- Delimiter string.
- Starting split point, 0 being the first segment. Optional, defaults to 0.
- Ending split point. Optional, defaults to 1000.
- Only split if number of segments >= this. Optional, defaults to 0.
Example
Example: "The Cows Are Flying!" => "The Cows":
Code: Select all
$dll(splitat,1,The Cows Are Flying!, ;;0;;1)