Take a look at ColdFusion functions... you can use HTMLCodeFormat()


Or, if you want to strip out all HTML formatting from the textarea (ie.
do not wish to allow it) you can go to CFLIB.ORG and download a function
which will strip HTML commands.


-Novak

-----Original Message-----
From: Spectrum WebDesign [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 12:43 PM
To: CF-Talk
Subject: RE: Getting 2 first lines from textarea formatted field

Another problem. Many records from textarea field is formatted with <b>
or <p> or font style. How to show only plain textarea without any
format?

Thanx
----- Original Message -----
From: "cf-talk" <[EMAIL PROTECTED]>
Date: Mon, 8 Dec 2003 11:47:09 -0800
To: CF-Talk <[EMAIL PROTECTED]>
Subject: RE: Getting 2 first lines from textarea formatted field

Left(string, 150)

Will get you the first 150 characters... Am I missing something?

If you need the first two lines then read in the file and treat it as a
Chr(10) delimited list.

-Novak

-----Original Message-----
From: Spectrum WebDesign [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 11:42 AM
To: CF-Talk
Subject: Getting 2 first lines from textarea formatted field

Hi all

i need to get 2 firt lines (or 150 first chars) from textarea formatted
field like macromedia search action... Is possible?

Thanx in advance

--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
  _____
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to