textReader.readLine: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = shared |type = method |name = readLine |class = TextReader |parameters = void |usage = read a line of text.<br>The text returned will contain the EOL...")
 
No edit summary
Line 5: Line 5:
|class = TextReader
|class = TextReader
|parameters = void
|parameters = void
|usage = read a line of text.<br>The text returned will contain the EOL (end of line) character(s) if they are present for the line of text
|usage = read a line of text.<br>The text returned will contain the EOL (end of line) character(s) if they are present for the line of text.<br>This method will not include a null-byte (\0) in the returned text
|return1 = string a string containing the line of text
|return1 = string a string containing the line of text
|returnFail1 = void
|returnFail1 = void
}}
}}

Revision as of 05:29, 2 December 2020

Method Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

string textReader.readLine(void)

The textReader.readLine method is used to read a line of text.
The text returned will contain the EOL (end of line) character(s) if they are present for the line of text.
This method will not include a null-byte (\0) in the returned text.

Parameters

void This method doesn't take any parameters.

Return

string A string containing the line of text.

Types

Client TextReader

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.