Function EditableContent.line

returns line text by index, "" if index is out of bounds

dstring line(
  int index
);