paragraphFormat

Replaces characters in a string:
* Single newline characters (CR/LF sequences) with spaces
* Double newline characters with HTML paragraph tags (<p>)

paragraphFormat(String) → returns string

Argument Reference

String string
Required

Examples
Sample code invoking the paragraphFormat function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub