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 |
How to test background color and dynamic images which are moving during runtime?
Explain QTP using different development techniques ?
How does you pass optional arguments in qtp?
Have you used TD?
Hi, When I click on a hyperlink a secondary pop-window will open. In that pop-up window there will be 'N' number of records arranged in with paging option in datagrid table. Each rows contains two columns, one is text and the other is a radio button. I will pass the first column value and based in it the tool have to select the corresponding radio button in that row. Please someone help me how to handle this as am new to QTP.
Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday
How many tables r created during the recording in QTP?
What is keyword view?
What is the difference between analog and low level recording?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
can we run the scripts of QTP8.2 in QTP7.0?
what are the different data driven types?