How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?
Answer Posted / krishna
Str="Quick Test Pro"
R=Replace(Str," ","")
msgbox R
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is loose binding? Why is it not a good practice to use it?
Mention what is the use of option explicit in vbscript?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
What is Procedure or Subroutine in VB Script?
What are string functions in vbscript?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
How to delete a cookie using vbscript?
What is the event handling in vbscript?
How will you compare two strings in vbscript?
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
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
Mention what is the difference between vbscript and vba?
Explain the string concatenation function in vbscript?
How are arrays declared in the vbscript language?
when we use filter funtiom invb script(QTP)