Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to store a value from InnerText property to an Array ?
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Shreyya,

Refer the below example and implement accordingly.

Code:
str="Sunday Monday Tuesday"
d=Split(str," ")     [b]' here string 'str' got splitted using " " (single space) as a delimiter and an array 'd' got created.[/b]

For i=lbound(d) to Ubound(d)
     msgbox d(i)    [b] 'display the Array elements[/b]
     Datatable.Value("Test_Column",dtglobalsheet)=d(i)   [b]'Array Values will get posted into Run Time Datatable.[/b]
Next
Reply


Messages In This Thread
RE: How to store a value from InnerText property to an Array ? - by sreekanth chilam - 06-30-2010, 11:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VB SCRIPT to click on specific links on webpage and store related data ACCBAJPA 1 9,995 04-02-2013, 01:33 PM
Last Post: ACCBAJPA
  Need help retrieving innertext of a link pujamukho 3 3,878 05-03-2011, 07:11 PM
Last Post: Charanpreet
  Is there any way to store different configurations of our datasheets and attach them advqtpuser 1 2,503 03-19-2011, 04:06 AM
Last Post: tdevick
  how can I store a string with variable in it, in another variable? reejais 4 4,596 11-11-2010, 11:46 PM
Last Post: smeepaga
  How to store all output values in different variables Jyobtech 4 4,728 10-13-2010, 11:23 AM
Last Post: KavitaPriyaCR

Forum Jump:


Users browsing this thread: 1 Guest(s)