Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get GETWORDNUM results starting/ending position
Message
De
24/10/2001 16:22:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00572607
Message ID:
00572889
Vues:
35
>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?

Yes, this functionality is provided through the WSH COM Object VBScript.RegExp; you'd create a pattern to strip words, and use the Execute method to return a Matches collection; this contains a set of Match objects which list the starting position of the word, the value of the word node, and it's length. See any of the WSH resources in my sig block for more details.

>If not, how can I get it?
>
>Thanks,
>Ibai
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform