TM1 Function for TI, WILDCARDFILESEARCH

Searches files using wildcard characters in a folder.

Available In

TurboIntegrator

Definition

WILDCARDFILESEARCH searches files using wildcard characters in a folder.

Syntax

WildcardFileSearch (Pathname, PriorFilename);

Pathname = A file path including file search criteria that can contain a wildcard character. For eg:

C:WildcardFileSearchP*

PriorFilename = Name of the existing file in the folder. If we pass empty string argument, then the function returns the first file which matches the criteria

Video Demo

Use a While loop to go through all the elements in the Product Scorecard dimension.