Use Google to find help fast. For example, search on "xpressdox choosefromlist".

The StartsWith Function

The StartsWith Function

The StartsWith function (an XSLT function) is used to test whether a string starts with a given string:

<<If(StartsWith(Surname,'van ')>><<Title>> <<Surname>> is probably of Dutch descent.<<End()>>
<<If(StartsWith(Surname,'van ')>><<Setv('LastPart',substring-after(Surname,'van '))>><<End()>>

In previous versions this command was known as starts-with. Backward compatibility ensures that XpressDox will still recognize this command.

Leave a Reply