ParagraphFormat()
Formats the carriage returns in a string to a HTML alternatives
ParagraphFormat( string=string );
Returns: String
Examples
paragraphs = "This is your brain.#chr(13)#This is your brain on Lucee.";
echo(ParagraphFormat(paragraphs));
See also
- Strings
- Formatting
- HTML
- string.paragraphFormat()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)