Variable type conversion for use in System.Net.WebUtility.HtmlDecode()

Hi everybody!

I have a process:

  1. read text file (xml)
  2. use match , output variable type <IEnumerable<Match>>( its default for match activity)
  3. then use for each to loop in each match ( in for each type Argument is object)
  4. and then i need to transform each item by System.Net.WebUtility.HtmlDecode but i dont know how can i do it. In for each i cant do nothing because item is object. Outside of for each same problem.
    don’t know how to properly transform item that i can work with it further

if it’s not difficult for you to attach screenshots

Help Please!

Test to change the Type Argument to Match (System.Text.RegularExpressions.Match) and then you can call HtmlDecode():

System.Net.WebUtility.HtmlDecode(item.ToString)

It works! :smiley:
Thanks a lot!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.