How to find a specific character per functoid

Home Page Forums BizTalk 2004 – BizTalk 2010 How to find a specific character per functoid

Viewing 2 reply threads
  • Author
    Posts
    • #25398

      Hi.

      Is it possible to find in a value of source element a specific character if this character is included several times?  Can I do this with a functoid?

      I use the “Find String”-Functoid to find a character in a field. For example to finde the character “-” in the value “field-content”.

      But what I’m looking for is, how can I find the last “-” in a value like “field-content-and-more”? Now I have several times the “-” character included.

      I’m looking for a “find string”-functoid which I can tell start searching for “-” from the end to beginning.

      Is there I can do or I can use?

      Thanks in advance.

      Wolfgang 

    • #25402

      Hi Wolfgang,

       

         Off the top of my head, I can’t think of any combination of string functoids that can achieve what you are looking for, so your best bet is to use an Inline C# Scripting functoid in your map to accomplish your goal, as the C# language is richer in syntax to do more complex string manipulation and logic.

       

         Best,

       

         Daniel.

       

      • #25404

        Hi Daniel.

        Ah ok … I wasn’t thinink about the Scripting functoid … yes, I will have a look in it!

        Thanks for the hint! Great! [:D]

        Wolfgang

    • #50491
      biztalkgurus

        Goddesses: A World of Myth and Magic : Burleigh Muten : 9781841480756

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