Trimming end of word returns fm5 through 8

General support questions.
Posts: 58
Joined: Tue Jul 26, 2005 12:08 pm
Location: London
PostPosted: Tue Jul 25, 2006 6:33 am
Hi All,

Is there a Text function which will trim off accidently entered Carriage Returns at the end of a word or line of text, similar to the Trimming of leading and trailing spaces?

Thanks very much and sorry if it's obvious.

Best regards
David
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Tue Aug 01, 2006 6:33 am
Sure. I use this to remove the last return...

Case(Right(Text; 1) = "¶"; Left(Text; Length(Text) - 1) ) ; Text )

...and Andrew Parson's custom function to remove returns in between things (like extra returns in a return delimited list).
John Sindelar
SeedCode
Posts: 58
Joined: Tue Jul 26, 2005 12:08 pm
Location: London
PostPosted: Fri Aug 04, 2006 2:10 am
Thank you John, as always!

Best regards

David

Return to General Support

Who is online

Users browsing this forum: No registered users and 3 guests

(855) SEEDCODE
[email protected]
Follow us: