string.sub
Syntax
- s := string.sub(source,istart<,inum>) := s
Get/sets a sub-string of the string source, starting at position istart and including inum characters.
If inum is -1 (the default) the entire rest of the string after istart will be included.
Note that on assignment, the length of the string replaced does not have to match the length of the string removed.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 14, 2024 |