How to remove the spaces in a string
Ex: "this is apple"
Answer Posted / kamepalli
a=split("this is apple"," ")
b=a(0)+a(1)+a(2)
msgbox b.
| Is This Answer Correct ? | 11 Yes | 6 No |
Post New Answer View All Answers
1. How do declare public variable in vb scripts?
Explain what is loose binding? Why is it not a good practice to use it?
Explain the tristate constants in vbscript?
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
Which object provide information about a single runtime error in a vbscript?
Which operator can be used to change the value of the operand or change the state of the condition?
What is the use of the instr function?
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
What is the purpose of regexp object in vbscript?
Mention what is the technology used by vb script?
please can you help me to get a code of flames using a visual basic 6
how to acces the remote mechine using vb cript(QTP)
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
How to make sure that items in a wintree are sorted al?