Splits the input string into a sequence of strings. The size of each resulting string is determined by the length parameter.
Built-in, C++, C#, Java, XQuery, XSLT 2.0, XSLT 3.0.
The input string.
Determines the length of each string in the generated sequence of strings.
If the input string is ABCDEF and the length is 2, then the function returns a sequence of three strings: AB, CD, and EF.
In the mock-up mapping illustrated above, the function's result is a sequence of strings. According to the general mapping rules, for each item in the source sequence, a new item is created in the target component. Consequently, the mapping output looks as follows: