Content = instr(10)
These routines return a string of characters in str, extracted starting at the current cursor position in the named window.