BizTalk Server Tools - Manipulating strings

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Tools > November 2004 > Manipulating strings





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Manipulating strings
Mark Burwinkel

2004-10-22, 5:49 pm

I'm mapping several elements from my source XML document to one element in my
destination XML document. Normally I would use a string concatenate functiod
to accomplish this task. However, the destination element is positionally
dependent. The first element that I use has to take 20 characters, including
spaces. I feed each source element into a string concatenate functiod as the
first parameter, the second parameter is a character string filled with
spaces. The result of this functoid goes to a left string where I grab the
exact length of the string that I need. The problem appears to be that the
functoids are trimming my string for me. Does anyone have any suggestions
how I can fix this problem?
BizTalk Architect

2004-11-01, 7:46 am


"Mark Burwinkel" <MarkBurwinkel@discussions.microsoft.com> wrote in message
news:ABD99C02-71DC-4501-AFF9-DAEB1C338E11@microsoft.com...
> I'm mapping several elements from my source XML document to one element in
> my
> destination XML document. Normally I would use a string concatenate
> functiod
> to accomplish this task. However, the destination element is positionally
> dependent. The first element that I use has to take 20 characters,
> including
> spaces. I feed each source element into a string concatenate functiod as
> the
> first parameter, the second parameter is a character string filled with
> spaces. The result of this functoid goes to a left string where I grab
> the
> exact length of the string that I need. The problem appears to be that
> the
> functoids are trimming my string for me. Does anyone have any suggestions
> how I can fix this problem?


I would suggest you create your final string and then send it to a scripting
functoid to measure the length and add the spaces to the end, then send that
value to the destination. IE, if you think the left trim is the problem,
approch it from the opposite direction...

Never encountered your problem but this may solve it. Also, try also to add
them as their ascii equiv, that might solve it also.

Isaac Ferreira
Certified BizTalk Developer
Application Architect


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com