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 different command used in command Prompt while using QTP?
I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?
what about f2&f6 function keys
What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...??
What are the Features & Benefits of Quick Test Pro ?
When and why to use descriptive programming?
How do i relate the checkbox properties with webelement when checkbox properties are changing on every login to the application
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
do you prepared framework,pls answer this
How to supress warnings from the "Test results page"?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
how do you remove object repository at runtime and load object repository and verify it