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 Enter Values on the Command promt using VB script
How will you get a subset of a array in vbscript?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
How many types of procedures are available in the vbscript language?
Mention what is variant in vbscript?
How will you convert a string to lower case string using vbscript?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
How strcomp function works?
In html file what is an ideal position to include vbscript?
How will you get the octal value of the given number in vbscript?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
how to increasing the numbers in a given text box please write a vb script
What is byref and byval parameters in vbscript?
what is used of Property........End Property loop ? how to write the script for it?
Explain about vb script?