Word (Fill) - count, contains, replace

Demonstrates examples for the functions cnt(), con(), rep()

Further information about Word (Fill) you will found here.

Function cnt()

Only for repeating elements/containers!

Returns the amount of repeated generated lines.

e.g. function in the Word document: tfName.cnt()

Example 1 - repeating elements

Function con( value )

Only for selections!

Check if a value is existing in the corresponding list.

e.g. function in the Word document: selSelection.con(value2)

Function rep( value#replacement )

The rep(value#replacement) function replaces the passed word (value) with the value after the hash (replacement).

e.g. function in the Word document: tfRep.rep(forms|FORMCYCLE)

The function rep(value1|value2#replacement1|replacement2) replaces the passed word (value...) with the corresponding value (replacement ...).

e.g. function in the Word document: tfRep2.rep(best|forms#XIMA|FORMCYCLE)