How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?

Answer Posted / mahesh

Ex::

X="Welcome to QTP World"

Y=trim(X)
Msgbox Y

O/p::WelcometoQTPWorld

Is This Answer Correct ?    4 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the asc function?

694


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

1668


Both Static and dynamic arrays are handled by VB script. Is it true?

699


Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

1834


Which object provide information about a single runtime error in a vbscript?

697






Is vbscript language a case-sensitive language and what does it mean?

635


Explain about the support of asp for vb script functionality?

613


What is vbscript?

692


What methods are used to create text files and open text files in the vbscript language?

628


How to replace junk code recorded by QTP with a mall function.

1756


Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

2086


Explain the extension .hta?

629


How will you reverse a string in vbscript?

704


How do you declare a variable in vbscript?

718


What are the disadvantages of vbscript?

752