Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

FStrFitsPat (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit