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

Answer Posted / krishna

Str="Quick Test Pro"
R=Replace(Str," ","")
msgbox R

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you reverse a string in vbscript?

704


How will you convert a given number to long in vbscript?

572


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

697


How to get the length of the string by making use of the string function?

701


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

749






How will you get a random number between 0 and 1 in vbscript?

820


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

635


what is the difference between modular and data and keyword driven framework

1828


What is byref and byval parameters in vbscript?

691


regular expression that will recognize a browser as long as its name property starts with mybrowser

1847


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1640


How you can call vbscript functions?

658


what is the standards used for writing the script in QTP

1965


Mention what is select case statement?

624


Why is error handling required?

651