left(yourVarHere,254)
tw
-----Original Message-----
From: Jeff Small [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 2:06 PM
To: CF-Talk
Subject: Clip at the last "space" character/Display "More..."
Okay, I know this is an easy one, and I've actually *done* it before, I just
can't remember where, or how...
On output, I've got a field that I want to clip at the LAST space character
before 254 characters are displayed.
If it's a memo/text field, and it contains 500 characters, I only want to
display UP TO the very last "space"
character before the 254 is reached.
The field that currently clips a "and a wonderf" would clip at "and a" then
I'd put "more..." following that.
I'm guessing this is so easy, I'm going to slap myself.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Clip at the last "space" character/Displ... Jeff Small
- RE: Clip at the last "space" charac... Tony Weeg
- RE: Clip at the last "space" ch... Tony Weeg
- Re: Clip at the last "space"... Jeff Small
- Re: Clip at the last "space" charac... Jerry Johnson
- Re: Clip at the last "space" ch... Jeff Small
- RE: Clip at the last "space" charac... DURETTE, STEVEN J (AIT)
- RE: Clip at the last "space" charac... Jerry Johnson