tokenize
Splits the input string into a sequence of strings using the delimiter supplied as argument.
Languages
Built-in, C++, C#, Java, XQuery, XSLT 2.0, XSLT 3.0.
Parameters
Name | Description |
---|---|
input | The input string. |
delimiter | The delimiter to use. |
Example
If the input string is A,B,C and the delimiter is , then the function returns a sequence of three strings: A, B, and C.
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:
<items> |