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 to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
How can constants be declared in the vbscript language?
How will you compare two strings in vbscript?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Explain what is loose binding? Why is it not a good practice to use it?
Explain How do you create a recordset object in vbscript?
how to set one column as primary key in QTP and fetch values accordingly
How strcomp function works?
Does VB/Win make standalone .EXE files?
What's the difference between vbscript and vb.net?
Explain the string concatenation function in vbscript?
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?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
How you can call vbscript functions?