USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Split a string by a delimiter and return the element at a given position
Splits the input string by the specified single-character delimiter and returns the element at the given 1-based position. The result is stored in the result buffer. Returns an empty string if the position is out of range.
| Parameter | Description |
|---|---|
| cmd | String to split |
| Argument 0 | Single character delimiter to split on |
| Argument 1 | 1-based position of the element to return |
SplitString "String to split", "Single character delimiter to split on", "1-based position of the element to return"