Working cursor to line and write of a string.