Is there a functoid that specializes in splitting a string based on a delimitter?
Let's say I have a Fullname
field that looks like so:
Gordon, Liza
Shiksa, Nancy
Shkura, Lola
Sukovich, Matthew
How would I extract last name?
My desired output would look like this:
Gordon
Shiksa
Shkura
Sukovich
There's no single functoid that will do this. You have two options:
String Find
, Subtraction
, and String Extract
functoids to get the last name. This method assumes that each input string always has a comma (,
).String Find Inputs:
Fullname
,
Subtraction Inputs:
String Find
1
String Extract Inputs:
Fullname
1
Subtraction
Connect the output of String Extract
to your output element. The subtraction is necessary since BizTalk counts string positions starting at 1 and you don't want the comma part of the output.