ALLTRIM

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

ALLTRIM

Post by Otto »

Should ALLTRIM delete ASC 10 + ASC 13, too.
If yes I think in Harbour for PPC this might not be the case.
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: ALLTRIM

Post by mmercado »

Hello Otto:
Otto wrote:Should ALLTRIM delete ASC 10 + ASC 13, too.
If yes I think in Harbour for PPC this might not be the case.
Clipper, xHarbour and Harbour_ce give same results:

?Len(AllTrim( "123"+CRLF)) //returns 5
?Len(AllTrim( " "+CRLF)) // returns 0

Best regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: ALLTRIM

Post by Otto »

Hello Manuel, hello Enrico,
thank you for your help.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
Enrico Maria Giordano
Posts: 7356
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: ALLTRIM

Post by Enrico Maria Giordano »

mmercado wrote:?Len(AllTrim( " "+CRLF)) // returns 0
I wasn't aware of such behavior. It looks more like a Clipper bug, inherited from [x]Harbour, to me.

EMG
Post Reply