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
what is the object hyrarchy in QTP for a web based application
What are lbound and ubound in the vbscript language?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com
How to assign a date value to a variable?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
What is the purpose of on error resume next statement?
How can you create a file object to work with the files in the vbscript language?
Which operator can be used to check if two numbers are equal or not in vbscript?
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
Mention how to access array data?
What are the properties of regexp object?
Mention what is byref and byval parameters in vbscript?
How will you get a string with the specified character the specified number of times in vbscript?