what is L-trim function will do?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rajendra medepalle
In Shore will remove Leading edge spaces..
Ex:=
Dim StrComp
StrComp=LTrim(" TATA CON SER")
Msgbox StrComp
'StrComp Contain "TATA CON SER"
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the DIFF Between PROJECT AND PRODUCT?When Company will need Product?
what is automation(qtp)bug pls giv me one ex?
if i have 10 actions and out of 10 actions last 3 actions i renamed will my script exicute sucesfuly r not? changed actions where i can see?
Use of Multiple Actions in QTP?
How does you pass optional arguments in qtp?
what is virtual object?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
How to send the qtp results file by email (Lotus notes).
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
Can we directly automate testscripts accrdoing to requirements
2 Answers CitiGroup, Novartis,
can u give one scenario for for PopWindow Exception & write Code for that?
How to Close all browsers in reverse order.