Thank you both. Problem solved

On Tue, Dec 11, 2012 at 1:26 PM, Mike Copeland <[email protected]> wrote:

> -------- Original Message --------
> Subject: Re: Spaces
> From: Tracy Pearson <[email protected]>
> To: [email protected]
> Date: 12/10/2012 6:24 PM
>
>> 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.
>>
>
> Sytze, as Tracy points out, spaces and returns (chr(13) and chr(10)) are
> not the same thing.
>
> Mike
>
>
> ______________________________**_________________
> Post Messages to: [email protected]
> Subscription Maintenance: 
> http://mail.leafe.com/mailman/**listinfo/profox<http://mail.leafe.com/mailman/listinfo/profox>
> OT-free version of this list: http://mail.leafe.com/mailman/**
> listinfo/profoxtech <http://mail.leafe.com/mailman/listinfo/profoxtech>
> Searchable Archive: 
> http://leafe.com/archives/**search/profox<http://leafe.com/archives/search/profox>
> This message: http://leafe.com/archives/**byMID/profox/50C67DBE.6000002@**
> ggisoft.com<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.
>
> Report [OT] Abuse: http://leafe.com/reportAbuse/**
> [email protected]<http://leafe.com/reportAbuse/[email protected]>
>



-- 
Kind regards
Sytze de Boer
Kiss Software


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
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/CAG1nNy_-vF0SP24TQ4SYCeLn=npzuh84etl2-z+4lugaobt...@mail.gmail.com
** 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.

Reply via email to