4D v16.3Delete string |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Delete string
Delete string
Delete string deletes numChars from source, starting at where, and returns the resulting string. Delete string returns the same string as source when: If where is less than one, the characters are deleted from the beginning of the string. If where plus numChars is equal to or greater than the length of source, the characters are deleted from where to the end of source. The following example illustrates the use of Delete string. The results are assigned to the variable vtResult. vtResult:=Delete string("Lamborghini";6;6) ` vtResult gets "Lambo"
See also
|
PROPERTIES
Product: 4D HISTORY
Created: < 4D v6 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||