Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How to search for a string from readline in c#

string s = "abc";//string to be searched
//'line' is the storing the line which is read
if(line.Contains(s))
{
   //action to be performed
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #search #string #readline
ADD COMMENT
Topic
Name
5+3 =