Make your own free website on Tripod.com
3.2.22. DELSTR(string,start[,length])

Returns string, after the substring of length length starting at
position start has been removed. The default value for length is
the rest of the string. Start must be a positive whole number,
while length must be a non-negative whole number.  It is not an
error if start or length (or a combination of them) refers to more
characters than string holds

     DELSTR(‘Foobar’, 3) –>   ‘Foo’
     DELSTR(‘Foobar’, 3, 2)   –>   ‘Foor’
     DELSTR(‘Foobar’, 3, 4)   –>   ‘Foo’
     DELSTR(‘Foobar’, 7) –>   ‘Foobar’



PREV NEXT