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, andString Extractfunctoids to get the last name. This method assumes that each input string always has a comma (,).Option 2 with 3 functoids:
String Find Inputs:
Fullname,Subtraction Inputs:
String Find1String Extract Inputs:
Fullname1SubtractionConnect the output of
String Extractto 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.