Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InStr substitute
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
InStr substitute
Miscellaneous
Thread ID:
00771253
Message ID:
00771253
Views:
40
I don't think there's an inStr function in FoxPro... although it's 99.9% likly that I'm mistaken.

If there's not, is there a substitute function that I can use to do something like this:

myString = "kdjfkjsf hjhuei oioiuwquiod john uhehjkdf hasjhdkh"
:now I need something to detect the "john" in the string and return it and everything to the right of it including itself:

myString = "john uhehjkdf hasjhdkh"

Then I need a function to be able to cut the stuff off the string from the right.

Are there Right() and Left() functions like in VB?

Thanks!
+=================================+
|John McCarthy, Programmer, MEG
+=================================+
Next
Reply
Map
View

Click here to load this message in the networking platform