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

Answer Posted / vishnu

Str = "Welcome to QTPWorld"
Sp1=Split(str)
For i=0 to ubound(Sp1)
temp=temp&Sp1(i)
Next
print temp

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do i automate a website www.flyashx.com without having any test cases witin a week time.

1457


Which command is used for writing text on a page?

576


How should i Create Email invite with server-side Coding?

1600


Which date function is used in the vbscript language to find the difference between the 2 dates?

589


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

798






how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12886


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

608


Explain about .wsf files?

621


Compare java script and vb script?

591


What is purpose of scripting.filesystemobject class in vbscript?

626


Why to use option explicit in vb script?

597


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2393


In what way program "hello world" you can write in vbscript?

646


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

4744


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1614