-
Notifications
You must be signed in to change notification settings - Fork 1
file_get_directory
Hyomoto edited this page Jun 24, 2021
·
5 revisions
Jump To | Go Back |
Arguments |
---|
Returns: array
Searches the given directory for files that match the mask. If sub is true, all sub directories will also be traversed.
var _files = file_get_directory( working_directory, "*.txt", false );
Output: A list of all the files in the working directory that end with .txt
Name | Type | Purpose |
---|---|---|
directory | string |
The directory to start searching from. |
mask | string |
The mask to search with |
*sub | bool |
optional: If true , will include sub-directories. |
Devon Mullane 2020