Buscar coincidencias de string dentro de un arreglo de strings

Buenos días.

Estoy intentando encontrar coincidencias dentro de un string, a partir de un array de strings. Por ejemplo:
string stringToCheck = "text1";
string[] stringArray = { "text1", "testtest", "test1test2", "test2text1" };

¿cómo lo podría hacer?

@Gustavo_Ogueda_Reyes

Try below expression in IF activity. If it exists then it will go to Then else it will go to Else part.

      stringArray.Contains(stringToCheck)

Hi @Gustavo_Ogueda_Reyes

I have create workflow based on your requirement unzip attached file and run I hope you will get the solution.

StringMatch.zip (17.4 KB)

Regards,
Kommi Jeevan.

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