Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String Matching & WildCards
Message
From
22/05/1998 20:29:02
 
 
To
21/05/1998 17:29:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00100984
Message ID:
00101346
Views:
29
>Is there any way to access the internal VFP functionality that does string comparisons with wildcards?
>
>I'd like to be able to tell whether these strings match:
>
>"*.TMP" & "FOO.TMP"
>
>"ARC???.*" & "ARCHIV.BAR"
>
>... etc.
>
>Clearly, VFP has this functionality for SYS(2000), and the WildCardMatch method of the calss browser, but is there any way I can get a hold of it?
>
>-- jas

SET EXACT OFF
?LEFT("ARC???.*",3) = "ARCHIV.BAR" && returns .T.
?"TMP" = RIGHT("FOO.TMP",3) && returns .T.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform