Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get GETWORDNUM results starting/ending position
Message
From
24/10/2001 16:22:03
 
 
To
24/10/2001 10:33:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00572607
Message ID:
00572889
Views:
37
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform