StyledText.ParagraphCount

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

StyledText.ParagraphCount() As Integer

Supported for all project types and targets.

Returns as an Integer the number of paragraphs in Text.

Notes

Completely empty paragraphs (e.g., blank lines) do not count as paragraphs.