XpressDox Help Center

Use Google To Find Help Fast, e.g. xpressdox choosefromlist

Press Getting Started in the XpressDox toolbar for basic template development
Watch the tutorial videos
View command help from list of commands
Press F1 for help on a command in the Command Editor
Email support@xpressdox.com for assistance

The CountOf Command

The CountOf Command

This function returns the number of times one string occurs in another.  For example:

«CountOf('.', IPAddress)»

will count the number of times the character ‘.’ (full-stop or period) occurs in the data element IPAddress (and put the result into the merged document).

A more typical use of the function would be as part of a conditional statement, for example:

«If(CountOf('.',Name) < 1)»The name contains no initials.«End()»

Leave a Reply