I want to display only the first paragraph of a string (body). Below is the code I'm currently using, which works for the most part, but in a string containing a "P" character, it will cut off there, instead of at the end of the paragraph.
#SpanExcluding(ParagraphFormat(body), "<P>"
#
Anyone have any suggestions? A better way to do this maybe?
Thanks
#SpanExcluding(ParagraphFormat(body), "<P>"

Anyone have any suggestions? A better way to do this maybe?
Thanks