Convert expression to conditional

Hello,

How could I convert this expression in a conditional statment? If not empty, get firstordefault(), if empty, just string.Empty?

For each row in dt_Main:
Assign activity:

row(“a”) = dt.AsEnumerable().Where(Function(key) key(“number”).ToString.Trim.ToLower.Contains(row(“ID”).ToString.Trim)).FirstOrDefault()(“id”)

Thanks!

Hey!

Have a view on this video

Regards,
NaNi

Hi,

Can you check the following post?

Regards,