How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?
Answer Posted / mithuna reddy
Dim str,arrsplit,arrjoin
str = "Welcome to QTP World"
arrsplit = Split(str," ")
arrjoin = Join(arrsplit,"")
MsgBox arrjoin
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Which keyword is used to declare a variable in the vbscript language?
How to throw an error in vbscript?
Mention what is vbscript procedures?
Is VB Script Case sensitive or Case insensitive?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
what is the standards used for writing the script in QTP
How to make sure that items in a wintree are sorted al?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
Explain about adodb.stream class?
Which object is used to work with the database 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
What is the difference between function and procedure?
Which function is used to perform string comparison?
What are the naming conventions while declaring a variable in the vbscript language?
Mention what is select case statement?