string.sub
Syntax
- sr = string.sub(s,i1<,i2>)
Get a sub-string. The starting position of the sub-string is i1. If the optional length, i2, is not specified, then the sub-string contains the remainder of the string.
Returns: sr - sub-string
Arguments: s - string
i1 - starting position of the sub-string
i2 - optional length of the sub-string
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |