Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to store all output values in different variables
#1
Not Solved
Dear All,

I am getting out values 4, 78, 44 from this function but I want to store all output values(4, 78, 44) in different variables.Can you please help me out to solve this.

-----------------------------------------------------
Code:
Dim Matches,Match,re
Set re=new RegExp 'creates a new regexp object
s="he4llo78ty44"
re.Global = True 'This tells the regexp to keep looking for more matches after the first one.
re.pattern="\d+"
set Matches=re.execute(s)
For each Match in Matches
   msgbox "value is"& Match.value
Next
------------------------------------------------------

Thanks,
Jyo
Reply


Messages In This Thread
How to store all output values in different variables - by Jyobtech - 10-12-2010, 01:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Function That Creates WebLink Variables Eitel13 3 1,234 07-17-2018, 03:25 PM
Last Post: Ankur
  table output values shipu 1 2,248 01-24-2014, 10:06 AM
Last Post: supputuri
  VB SCRIPT to click on specific links on webpage and store related data ACCBAJPA 1 9,831 04-02-2013, 01:33 PM
Last Post: ACCBAJPA
  Array as User-Defined Environment Variables Arena 3 4,144 04-16-2012, 09:19 AM
Last Post: sshukla12
  programming to use different external file of environment variables bundfromnj 1 3,707 01-19-2012, 05:32 PM
Last Post: SteveS

Forum Jump:


Users browsing this thread: 2 Guest(s)