fileTruncate

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

Filter by label

There are no items with the selected labels at this time.