cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delimiter in String to XML Parser

Former Member
0 Likes
437

Hi

In 12.2 I was able to use the pipe character as a delimeter in the String List to XML Parser action block, but it doesn't work in 15 (SP4).

How can I get it to work?

View Entire Topic
Nikhil_Makhija
Participant
0 Likes

Hi Nick,

Try to escape pipe in delimiter like this ,for each pipe use 2 backslash i.e.

for string a|b|c - > \\|

Nikhil

RuchirBatra
Product and Topic Expert
Product and Topic Expert
0 Likes

Try

Input as

encode("1||2||3")

Delimiter as

encode("||")

and you will get result as (  a part of result)

  <Row>

            <Item>1</Item>

        </Row>

        <Row>

            <Item>2</Item>

        </Row>

        <Row>

            <Item>3</Item>

        </Row>

swaroop_anasane
Active Contributor
0 Likes

That's what. I was trying single slash. Thanks Nikhil for the revival.

Best Regards,

Swaroop