String-length – XpressDox
String-length is used to test the length of a string (the value of a data element) Consider the following example. The business rule is that the value of «Code» may not be more
Tutorial videos are available here.
Visit our User Forum for discussions and solutions
String-length is used to test the length of a string (the value of a data element) Consider the following example. The business rule is that the value of «Code» may not be more
There are times when it is necessary to concatenate the values of data elements, variables and/or hard-coded strings together to form a value which is then stored in a variable. The concat function does this.
Working with strings in XpressDox templates StartsWith The StartsWith 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
XpressDox uses XSLT technology to insert data elements into Merge Fields. This means that a vast amount of functionality is available to the experienced user, especially the XSLT functions, which are used to format data. XpressDox functions and XSLT functions can be mixed in one Merge Field