Description
Clears the content of the specified file.
Parameters
Return Type
Boolean
Returns true if the file is truncated.
Example
Example 1
use "file"; truncate("fileToTruncate.txt");
See also
Clears the content of the specified file.
Boolean
Returns true if the file is truncated.
use "file"; truncate("fileToTruncate.txt");