Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InStr substitute
Message
De
28/03/2003 08:42:22
Fabian Belo
Independent Developer
Argentine
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00771253
Message ID:
00771265
Vues:
8
This message has been marked as the solution to the initial question of the thread.
One option...
myString = "kdjfkjsf hjhuei oioiuwquiod john uhehjkdf hasjhdkh"
cRes = RIGHT(myString,LEN(myString)-AT('john', myString)+1)
? cRes
>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!
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform