Find Files and Folders Activity with variable

Hi,

I have to find file using Find Files and Folder activity, but I don’t know how write variable in search expression? For example I use “name contains ‘Hello World’” I want replace Hello World a variable.

Help

Hi,

Can you try the following?

"name contains '"+strVar+"'"

OR

String.Format("name contains '{0}'",strVar)

Regards,

Do this way.

“name contains"+ yourVariable

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