Xbasic
*LINE_REMOVE Function
Syntax
New_String as C = *LINE_REMOVE(text as c,line as n [,nlines as n])
Arguments
- textCharacter
The original unmodified text.
- lineNumeric
The number of the first line to remove.
- nlinesNumeric
Default = 1. The number of lines to remove.
Returns
- New_StringCharacter
The modified text containing line removal(s).
Description
Remove line(s) from text at line position.
Discussion
The *LINE_REMOVE() function removes line(s) from a CR-LF delimited string starting at the line position defined by Start_Line.
Example
lines = <<%str% one two three four %str% ? *line_remove(lines, 3) = one two four
See Also