how to store charecters of HARIBABU Using arrays

Answer Posted / usha

str="HARIBABU"

for i =1 to len(str)

a = mid(str,i,1)

temp = temp & a & " "


next

msgbox temp

a = split(temp," ")

for i = 0 to ubound(a)-1
msgbox a(i)
next

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

did any one attended interview in applabs if you had gone through plz tell me the procedure

1852


What purpose does ‘on error resume next’ serves?

547


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1614


How will you get the smallest subscript of an array in vbscript?

807


how to increase the values in text box in a given text box increament by two values by clicking on button

1641






Write a code to print numbers from 5 to 0?

673


Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it

2238


Mention how you can call vbscript functions?

581


i need to sort the data using qtp script for this how i need to write a qtp script

3217


Mention what is byref and byval parameters in vbscript?

579


What is byref and byval parameters in vbscript?

604


Explain few date functions in vbscript?

612


Why is the use of exit do or exit for statements within loops discouraged?

568


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1550


Mention what is the main difference between function and sub-procedure?

549