If flag is true , then element found , else not
if ( flag == 1 ) Console . WriteLine ( " STRNEWLINE " + search + " ▁ found ▁ at ▁ location ▁ " + count ) ; else Console . WriteLine ( " STRNEWLINE " + search + " ▁ not ▁ found " ) ; } return - 1 ; }