Ask a Question

Strip Property Transfer

SOLVED
sithgecko
New Contributor

Strip Property Transfer

Hello I have one Question I want wo use Property Transfer to Transfer Id from XML Response to Request.

 

In the Source Response I read the XML Value like:

 

//*:xxx/*:ID

 

The result is for example: item#13,3,8

 

For the Target I select //*:ID where The ID is transfered to.

 

But from the result.id I only want the second number behind the first comma, in my example: item#13,3,8

 

Is there a solution to do it?

2 REPLIES 2
JHunt
Community Hero

Hi,

Give this a try:

substring-before(substring-after(//*:xxx/*:ID, '#'), ',')

 

I have to change your solution to:

 

substring-before(substring-after(//*:xxx/*:ID, ','), ',')

This works!

 

Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: