put line 12 of steve into bill
put line 2 through 7 of steve into bill
put the fifth line of steve into bill
put the third through eighth line of steve into bill
put line "andy" of steve into bill
The line
data type is a chunk type of string
that represents a line or a range of lines. This includes empty lines at the beginning or in the middle of the string
but not the last trailing empty line of the string
, if there is one.
Accessing a line
chunk that is out of range returns empty
. Modifying a line
chunk that is out of range inserts as many line breaks as necessary to insert text on the appropriate line of the parent string
.
The line
chunk type in HyperTalk always and only uses return
as the line ending. The line
chunk type in XION uses return
&
newline
, newline
, return
, linesep
, and parasep
as possible line endings. When inserting additional line breaks, line
uses the current setting of the lineEnding
property.