Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching for the string function
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00173714
Message ID:
00173727
Views:
28
Hi Paul,

>What is the string function to determine if a string exists within another string or field? For example I am wanting to display all inventory records that have the string 'MIC' anywhere in the description field. Is there a function to do this in VFP?

case sensitive:

"MIC" $ description
AT( "MIC", description ) > 0

case insensitive

ATC( "MIC", description ) > 0

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform