addSection

Adds a new row of type section.

Syntax
aTextBlock addSection (text, block)
Parameters
text - String
The text of the row, i.e. the title of the section.
block - String
The content of the section.
Return Value
The index of the created row.
Remarks

The text must not contain any new line character.

The content of the block is moved into the newly created section, the original block is empty after the call of this method.