loadTextFile: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ScriptItem | {{ScriptItem | ||
| | |since = 1.2.1 1.2.1 | ||
|endpoint = shared | |endpoint = shared | ||
|type = function | |type = function |
Revision as of 03:58, 18 January 2022
Function
Server and Client
Online and Offline
Available since Server 1.2.1, Client 1.2.1
string loadTextFile(string filePath)
The loadTextFile function is used to fetch all text inside a file as a string.
Parameters
1) | string | filePath | The path to the file. |
Return
string | The text fetched, as a string, which could be an empty string. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Server Related
createFile
fileExists
loadTextFile
openFile
saveTextFile
Client Related
createFile
fileExists
loadTextFile
openFile
saveTextFile