cat filename | grep '*xyz*' | wc -l
grep -o -w '\<*xyz*\>' -f filename | wc -w
string stringToCheck = "text1"; string[] stringArray = { "text1", "testtest", "test1test2", "test2text1" }; foreach (string x in stringArray) { if (x.Contains(stringToCheck)) { // Process... } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)