Answer Posted / nani
Returns a copy of a string without leading spaces (LTrim),
trailing spaces (RTrim), or both leading and trailing
spaces (Trim).
LTrim(string)
RTrim(string)
Trim(string)
The string argument is any valid string expression. If
string contains Null, Null is returned.
Remarks
The following example uses the LTrim, RTrim, and Trim
functions to trim leading spaces, trailing spaces, and both
leading and trailing spaces, respectively:
Dim MyVar
MyVar = LTrim(" vbscript ") ' MyVar
contains "vbscript ".
MyVar = RTrim(" vbscript ") ' MyVar contains "
vbscript".
MyVar = Trim(" vbscript ") ' MyVar contains "vbscript".
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How do you check ticket cost and ticket number in flight application?
What is the registration process and examination fees?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
what is clean sweep?
How to run a test using quicktest professional (qtp)?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
How many types of recording modes are there?
The hybrid framework can be implemented for any application. Is it true?
what is meant by source control?
What are the technics follow in writing VB script?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
What are the views available in quicktest professional?
Dis advantages of XML checkpoint ?
how to explain a claims and insurance project?
how will you load the test cases in ddt?