Checking if a data table contains a specific string

Hi all, I have a question, if I had a data table called: “dt” and wanted to check if this data table contains a string: “1234”, how should I do that?

Hi @Tobias07 ,
use below condition to check the value is present
dt.select("ColumnName like '%1234%'").Length>0

OR if you want to check in the entire table use output data table activity to get as string value and check
strValue.Contains("1234")

Regards,
Arivu

It works! Thanks!

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