Manipulating strings
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Tools > Manipulating strings




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Manipulating strings  
Mark Burwinkel


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-22-04 10:49 PM

I'm mapping several elements from my source XML document to one element in m
y
destination XML document.  Normally I would use a string concatenate functio
d
to accomplish this task.  However, the destination element is positionally
dependent.  The first element that I use has to take 20 characters, includin
g
spaces.  I feed each source element into a string concatenate functiod as th
e
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?





[ Post a follow-up to this message ]



    Re: Manipulating strings  
BizTalk Architect


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-01-04 12:46 PM


"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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:43 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register