ParagraphFormat

"-->
 ParagraphFormat (string) 

Description

Gives an HTML format to a string by replacing single newline characters with spaces and double newline with a <p>.

Example

 <cfset exampleString = "This is my example paragraph. As you can see it has  single new line characters in it as well as double new line characters.  We will use this to demonstrate the usage of the paragraph format function.">  <cfoutput>  #ParagraphFormat(exampleString)#  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net