For the complete documentation index, see llms.txt. This page is also available as Markdown.

ParagraphFormat

Replaces characters in a string: Single newline characters (CR/LF sequences) with spaces and double newline characters with HTML paragraph tags

Method Signature

ParagraphFormat(string=[string])

Arguments

Argument
Type
Required
Description
Default

string

string

true

The string to format.

Examples

Format text into paragraphs

Inserts paragraph tags around blocks of text separated by line breaks.

text = "First paragraph.

Second paragraph.";
result = paragraphFormat( text );
writeOutput( result.contains( "<p>" ) );

Result: true

Using the member function

Result: true

Last updated

Was this helpful?