Tokenize Usage in Tibco
Example
Input String : PS00007.ELEM~1,PS00012.ELEM~1
Output Expected
<ns0:POFLine>
<ns0:ProductPartNumber>PS00007.ELEM</ns0:ProductPartNumber>
<ns0:Count>1</ns0:Count>
</ns0:POFLine>
<ns0:POFLine>
<ns0:ProductPartNumber>PS00012.ELEM</ns0:ProductPartNumber>
<ns0:Count>1</ns0:Count>
</ns0:POFLine>
Steps
tib:tokenize($Start/root/param, ',')
output
PS00007.ELEM~1
PS00012.ELEM~1
Example
Input String : PS00007.ELEM~1,PS00012.ELEM~1
Output Expected
<ns0:POFLine>
<ns0:ProductPartNumber>PS00007.ELEM</ns0:ProductPartNumber>
<ns0:Count>1</ns0:Count>
</ns0:POFLine>
<ns0:POFLine>
<ns0:ProductPartNumber>PS00012.ELEM</ns0:ProductPartNumber>
<ns0:Count>1</ns0:Count>
</ns0:POFLine>
Steps
tib:tokenize($Start/root/param, ',')
output
PS00007.ELEM~1
PS00012.ELEM~1
No comments:
Post a Comment