Skip to content

Commit

Permalink
[Doc] Clarify behavior of FileAccess.get_line
Browse files Browse the repository at this point in the history
Specifies that the line excludes any newline or carriage return
characters.
  • Loading branch information
AThousandShips committed Apr 16, 2024
1 parent 658e97c commit b804193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/FileAccess.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
<method name="get_line" qualifiers="const">
<return type="String" />
<description>
Returns the next line of the file as a [String].
Returns the next line of the file as a [String]. The returned string doesn't include newline ([code]\n[/code]) or carriage return ([code]\r[/code]) characters, but does include any other leading or trailing whitespace.
Text is interpreted as being UTF-8 encoded.
</description>
</method>
Expand Down

0 comments on commit b804193

Please sign in to comment.