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
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Anyone have qtp11.0 crack?
Description.Create
How to add actions in driver script to run those actions in QTP?
What is loose binding? Why is it not a good practice to use it?
what is the object hyrarchy in QTP for a web based application
Which in-built function is used to format the number in the vbscript language?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
How can the spaces from the string be removed?
Does VB/Win make standalone .EXE files?
Is vbscript language a case-sensitive language and what does it mean?
What are the data types supported by vbscript?
What is the use of the recordset object and which statement is used to create such an object?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji