How to remove the spaces in a string
Ex: "this is apple"
Answer Posted / shashank shekhar raj
Hai,
Try this it's much easier
x="This is apple"
x=replace("This is apple"," ","")
MsgBox x
REPLACE is function in which i replace whitespace (" ")
by no space ("")
| Is This Answer Correct ? | 25 Yes | 1 No |
Post New Answer View All Answers
How are arrays declared in the vbscript language?
how to acces the remote mechine using vb cript(QTP)
Mention when to use function procedures and what are its characteristics?
How to create a cookie using vbscript?
What is the difference between function and procedure?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
Why is the use of exit do or exit for statements within loops discouraged?
What is the difference between vbscript and vba?
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
What is dictionary object in vbscript? Explain?
Explain the extension .hta?
did any one attended interview in applabs if you had gone through plz tell me the procedure
How can the spaces from the string be removed?
Which operator can be used to do an xor operation in vbscript?