Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is L-trim function will do?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1948


How we can import data from database?

1150


How to connect to a database?

1065


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

2054


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1952


what is the advantages and disadvantages of using functions instead of re usable actions

1884


Where we use data driver in qtp?

980


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

1111


How can you handle exceptions in qtp?

960


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

954


What is clean sweep?

1757


what is the hierarchy to use properties in descriptive programming

1930


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1930


If created one virtual object? Next time I changed the window position will it work?

991


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2858