Cut a part of a text returning a copy of the deleted string.
function cuttext(txt:text, i1:integer, i2:integer):text
A text object
Starting position of the region to cut
End position of the region to cut
A copy of the region. The input text is modified accordingly.
produces this output:
This function returns an empty text if the bounds are not
compatible with the string (e.g. starting position larger than the length
of the string) or inconsistent (e.g. starting position after end position).
If you have any comments or suggestions about these pages,
please send mail to email@example.com.
© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.