String manipluation inside an expression shape

Home Page Forums BizTalk 2004 – BizTalk 2010 String manipluation inside an expression shape

Viewing 1 reply thread
  • Author
    Posts
    • #23013
      Hi,  

      I have defined a 'System.String' variable to hold some string value in an

      expression shape next i wanted to extract a part of it using the 'Substring'

      method but i am not able do that.It doesnt allow me to put a dot next to my

      string variable. Why is it so.?

      Note- I am using Biztalk 2004
    • #23177

      Hi,

         Use the definition System.String in the following way in your Expression shape:

      if (System.String.Equals(<YourVariable>, ‘somestring’))

      {

          //Your code here

      }

         Keep in mind that the programming language used in BizTalk environment and Expression shapes is XLANGs, not C#, and is more limited in what you can do with string functionality.

      Good luck!

      Daniel.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.