what is L-trim function will do?

Answers were Sorted based on User's Feedback



what is L-trim function will do?..

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

what is L-trim function will do?..

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

Post New Answer

More QTP Interview Questions

Explain about the test fusion report of quicktest professional (qtp)?

0 Answers  


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

0 Answers  


What is meant by Step Generator in Qtp How is it used? pls gimme in detail

7 Answers   AppLabs,


What is quicktest professional window?

0 Answers  


can we do load testing , by using QTP......?

1 Answers  






What is data driver in qtp? Where we use it?

0 Answers  


hi Sudhananda reddy, in my resume, i written as , I Am working as a Test Engineer for xyz company. IS IT RIGHT OR WRONG? WHAT IS THE ACTUAL meaning of "IN XYZ COMPANY", "FOR XYZ COMPANY", "WITH XYZ COMPANY".

2 Answers  


what is the automation framework that ur company using(actual procedure,not theoritically explination)

1 Answers  


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

0 Answers  


QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?

1 Answers  


How to Map network drive in QTP

3 Answers  


Hi, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...and also let me know is there any other automation tool availabe to automate Microsoft Dynamic Navision. Thanks Sandip. +91-9714177088

1 Answers  


Categories