Re: Regex on an element field and its datatype

Home Page Forums BizTalk 2004 – BizTalk 2010 Regex on an element field and its datatype Re: Regex on an element field and its datatype

#25453

Hi Abhishek,

 

   The XLANGs syntax does not support any string Replace() function in a Message Assignment shape, so your best bet is to use a C# inline Scripting functoid in a map to do the following:

 

1. Scrap the dollar sign, parentheses and comma characters in your fields.

2. Convert the String value to an Int32 value and return that from the custom function in your functoid.

 

   I hope this gets you on the right track.

 

   Daniel.