Altova MapForce 2022 Basic Edition

Splits the input string into a sequence of strings using the delimiter supplied as argument.

mf-func-tokenize

 

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.

 

mf-func-tokenize-example

 

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>
  <item>A</item>
  <item>B</item>
  <item>C</item>
</items>

© 2016-2022 Altova GmbH