Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Letters should be found in a string - what is the best?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00428574
Message ID:
00428688
Views:
21
<<snip>>
>I was wrong too.
>If you want all selection to be presented in the record than
>
>lcCrit = [Not Empty(mapto) AND Len(Chrtran(mapto, Chrtran(mapto, lcSelList, ""), "")) = Len(lcSelList)]
>For exclusion
>lcCrit = [Empty(mapto) OR Empty(Chrtran(mapto, Chrtran(mapto, lcSelList, ""), "")) ]
>


I forgot to mention that code
Chrtran(lcSource, Chrtran(lcSource, lsFilter, ""), "")
returns all characters from lcSource that are presented in lcFilter.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform