Info | ||
---|---|---|
| ||
This routine is available starting with katl-commons SIL Engine™ 1.1.2. |
Syntax
findFiles(directory, regex)
...
Returns a list with absolute paths for files that match the given regex. The regex match is done on the file name, not the full path. If the regex parameter is empty string, the routine returns an empty result
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
directory | string | Yes | Specifies the directory to search into. |
regex | string | Yes | Specifies the file pattern to search for. |
Return type
string []
Returns an array containing the absolute paths of all files from the given directory which name match the regex.
...
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|