Go to: Synopsis. Return value. Related. MEL examples.
freadAllText
string
freadAllText is NOT undoable, NOT queryable, and NOT editable.
The freadAllText command reads all text from a file into a string.string |
// Read all text from a file into a string // string $exampleFileName = ( `internalVar -userTmpDir` + "example.tmp" ); string $allText = freadAllText($exampleFileName); print($allText);