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.
Extract a substring from a string
Returns a portion of a string starting at a given position. The start index is 1-based (not zero-based). If length is omitted, the remainder of the string is returned.
| Parameter | Description |
|---|---|
| cmd | Source string |
| Argument 0 | Start index (1-based) |
| Argument 1 | Length of substring (leave blank to return the rest of the string) |
Substring "Source string", "Start index (1-based)", "Length of substring (leave blank to return the rest of the string)"