Working with strings in XpressDox templates
SubstringBefore tests for a string which occurs in another string, but before a delimeter inside the string.
«Comment(This example includes SubstringBefore and SubstringAfter)»
The first name is «SubstringBefore(FullNames,' ')» and the last part of the name is «SubstringAfter(FullNames,' ')»
Read more about working with strings here.