BizTalk Server Tools - String manipulation

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Tools > October 2004 > String manipulation





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 String manipulation
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?

Tan Bao Nguyen

2004-10-28, 8:46 pm

The spaces are preserved. Are you looking at the output file from Visual
Studio or Internet Explorer (IE)? If so, IE will not show spaces. Look at
the output file with notepad for example. Let me know if you still have a
problem.

Regards,
Tan Nguyen
Microsoft BizTalk Server

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------[vbcol=seagreen]
<MarkBurwinkel@discussions.microsoft.com>[vbcol=seagreen]
in my[vbcol=seagreen]
functiod[vbcol=seagreen]
positionally[vbcol=seagreen]
including[vbcol=seagreen]
the[vbcol=seagreen]
the[vbcol=seagreen]
the[vbcol=seagreen]
suggestions[vbcol=seagreen]

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com