Substring – XpressDox
Use the substring function to extract a portion of a string in your XpressDox template Extract from a position in the string until the end The following example will begin extracting the value of
Tutorial videos are available here.
Visit our User Forum for discussions and solutions
Use the substring function to extract a portion of a string in your XpressDox template Extract from a position in the string until the end The following example will begin extracting the value of
Working with strings in XpressDox templates SubstringAfter tests for a string which occurs in another string, but after delimeter inside the string «Comment(This example includes SubstringBefore and SubstringAfter)» The first name is «SubstringBefore(FullNames,’ ‘)» and
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,’ ‘)»
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