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 can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
What's Checkpoints for QTP?
Explain object spy in qtp.
How can you close the second opened browser?
how to know no.of mails in our g mail by using vb-script
What is the present version of the VB Script we are using
I need to know how to Automate a Username and Password for a Web-based product? I'm scripting 3 different types of surveys but each Survey requires a Username and Password which is always the same. I can I do this using QTP?
What are Test case selection criteria for Automation?
What are the views available in quicktest professional (qtp)?
What are they Advantages and Disadvantages in QTP 9.2?