Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get GETWORDNUM results starting/ending position
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00572607
Message ID:
00572613
Vues:
45
>I´ve need a function that makes somethin like this:
>
>Knowing the word number (for a specific delimiter),
>Get this words starting/ending position.
>
>Does this exist?
>If not, how can I get it?
>
>Thanks,
Ibai,

Won't AT() give you the starting postion? TheN the LEN() function to determine the ending position:
lcstring = "Now is the time for all good men to come to the aid of their country"
lnstart = AT("good", lcstring)
lnstop = lnstart + LEN("good")
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform