×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

split input field into multiple fields

split input field into multiple fields

split input field into multiple fields

(OP)
Hello All,

I am a newbie to BizTalk Server 2004. I am trying to do a very straight forward task.

I need to split an input field value (e.g. Dekalb St) into two parts ie. 'Dekalb' and 'St' and send each of the two resulting values to two different fields in the output fields respectively. I have mapped the source and target schemas. I have tested the VB.NET code to split the incoming value in the scripting functoid but cannot figure out how to send the two resulting values to their destination fields. Should I be using the scripting functoid or should i be using some other functoid?

Thanks for your help
Kiran

RE: split input field into multiple fields

It depends on what you want to do exactly. If you want to split a string according with fixed values use two "string extract" Functoids. They need three values, the Input string, the beginning from where to read, and the end.

If you want to split your string according to a character for example the : i think it would be best to use the scripting functoid and to code that. However, i think you will always need two functoids to extract the correct string. A Functoid will always have only one return value. So if you want to extract both parts of the string extract "Dekalb" first and assign it to your destination node, then extract "St" and assign that. I dont think there is any way to do this!

HTH, Stephan
  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close