readln

Reads a line of text from the user. The reading stops as soon as the user hits the return key.

As the user types, every character is displayed.

Usage

    text = readln();