FStrFitsPat (LabVIEW Manager Function)

Bool32 FStrFitsPat(pat, str, pLen, sLen);

Purpose

Determines whether a filename, str, matches a pattern, pat.

Parameters

Name Type Description
pat uChar * Pattern (string) to which filename is to be compared. The following characters have special meanings in the pattern.

\ is literal, not treated as having a special meaning. A single backslash at the end of pat is the same as two backslashes.

? matches any one character.

* matches zero or more characters.

str uChar * Filename (string) to compare to pattern.
pLen int32 Number of characters in pat.
sLen int32 Number of characters in str.

Return Value

Bool32, which can contain the following values.

Value Description
TRUEFilename fits the pattern.
FALSEFilename does not match the pattern.