paragraphs

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
paragraphs
Summary

Used with the number function to count the number of paragraph chunks in a container.

Introduced7.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
put the number of paragraphs in field 1
get the number of paragraphs in tChapter1
RelatedKeyword: paragraph
Description

Use the paragraphs keyword to count the number of paragraph chunks in a container.

A paragraph is a chunk delimited by either a return character or the Unicode paragraph separator (0x2029).

Note: The paragraph chunk is identical to the line chunk, except that it is also delimited by the paragraph separator character. This reflects the paragraph breaking exhibited by LiveCode fields.

Tagstext processing