Skip to end of banner
Go to start of banner

fileTruncate

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

Clears the content of the specified file. Creates a new file if the one you want to clear content for doesn’t exist.

Parameters

Return Type

Returns true if the file is truncated.

Example

Example 1

use "file";
truncate("fileToTruncate.txt");

fileTruncate("fileToTruncate.txt");

See also

Filter by label

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

  • No labels