If I hard code something into the conatins it works just fine
valstring = "[contains(title,'Test')]";
However if I try and use contains against the xpath title and then use what was entered into a text box I haven't figured out how to do that. I'm sure it's something very simple
valstring = "[contains(title, txtSearchVal)]";
Any Suggestions would be greatly appriciated