Format to Sentence

Joanna Payoyo
Joanna Payoyo Athennian DocAuto Team Document Coding - Level 3
  • Updated

The toSentence function allows us to modify the format of a looped variable to sentence format.

The syntax is as follows:

{collection | toSentence:'variable'}



Sample Dataset

Shareclasses - class names:

Class A

Class B

Class C


The class names are {shareclasses | toSentence:'className'}.


The class names are Class A, Class B, and Class C.


The toSentence function can only take in one variable with no customizations.

This means that a sentence that reads like the following is currently not possible:

There are 100 shares in Class A, 200 shares in Class B, and 300 shares in Class C.