#ReplaceList(yourVariable, "<p>,</p>,<P>,</P>", "", "ALL")#
#Left(yourVariable, 50)#

all together:

#Left(ReplaceList(yourVariable, "<p>,</p>,<P>,</P>", "", "ALL"), 50)#

Personally I like the CFML Language Reference for the functions and tags.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                     
                    "Damian Watson"                                                    
                                     
                    <damian@greenhouse-des        To:     
<[EMAIL PROTECTED]>                                     
                    ign.co.uk>                    cc:                                  
                                     
                                                  Subject:     [ cf-dev ] Dozy with 
functions                               
                    11/26/02 02:07 PM                                                  
                                     
                    Please respond to dev                                              
                                     
                                                                                       
                                     
                                                                                       
                                     



Hi,

I need to to strip a variable of <p></p> tags and limit it to a number of
characters in output... and my understanding of functions ain't all that!
How do I do it?

--and coincidentally, does anyone know of a good guide on using
functions...
the books are a little dry on this.

d



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to