Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is '%' used for
Message
 
To
30/08/1998 13:42:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00131364
Message ID:
00131366
Views:
15
>I'm just learning FoxPro for the first time. Can someone sexplain how the '%' is used.
>Example: string='%'+some string+'%'

Dennis,

It is used in SQL to represent anything. That is;

SELECT * FROM Table WHERE Field = "%this%"

will find all occurances of Field where the string "this" is found anywhere in it.
Previous
Reply
Map
View

Click here to load this message in the networking platform