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
Related
Last updated
Was this helpful?
