The extract() function is unable to handle the HTML line break tags: <p>, <br>, and <div> (as well as </p>). It parses them as line breaks and does not return the characters.
extract()
<p>
<br>
<div>
</p>
For example:extract("<p>Text</p>", "<", ">") returns nothing. It should return "p" and "/p".
extract("<p>Text</p>", "<", ">")
"p"
"/p"
This issue has been reported to the Appian Product Team. The reference number for this issue is AN-96094.
The relevant action depends on the requirement.
substitute()
substitute(substitute("<p>Text</p>","<p>",""), "</p>", "")
toHtml()
extract(toHtml("<p>Text</p>"), "<", ">")
This article affects Appian 16.3 and later.
Last Reviewed: January 2018