Sytze de Boer <[email protected]> wrote: >I've been caught out with ALLTRIM > >I was under the impression that lcMemo=alltrim(mymemo) would remove >blank >lines and return the essential details of the memo >In my system, I need to know details of the very first line of a memo. >In >case the 1st line is blank, it use alltrim, and then >lcLine=mline(lcMemo,1) > >It returns a blank >What is a better way?
AllTrim(Mymemo, 1, " ", chr(10), chr(13)) Will do what you are looking for. -- Tracy _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

