Question
Comparison Operators - Wildcard?
Hey Folks,
I am working on some search functionality, and want to be able to create a statement that will compare a string to see if it is included in a larger one. For instance, the user could search for "Bread" and I would want the results to include ["Bread Pudding","Wheat Bread","Cornbread"]. Something like that is proving tough for me,but I bet there is a magic piece of knowledge that I am not finding. Anyone got it?
I am working on some search functionality, and want to be able to create a statement that will compare a string to see if it is included in a larger one. For instance, the user could search for "Bread" and I would want the results to include ["Bread Pudding","Wheat Bread","Cornbread"]. Something like that is proving tough for me,but I bet there is a magic piece of knowledge that I am not finding. Anyone got it?