Search
 
SCRIPT & CODE EXAMPLE
 

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
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: string in int c# 
Csharp :: c# dictionary first 
Csharp :: blazor oninitializedasync 
Csharp :: bootrap modal 
Csharp :: unity destroy object invisible 
Csharp :: c# run file 
Csharp :: c# OnMouseUp unity 
Csharp :: c# float to string with 2 decimals 
Csharp :: merge point of two list 
Csharp :: c# writeline list 
Csharp :: unity custom update 
Csharp :: photon rpc 
Csharp :: tinyint in c# 
Csharp :: c# send email 
Csharp :: c# create file if not exists 
Csharp :: tostring tmpro unity 
Csharp :: dropdown wpf 
Csharp :: c# get last item in list 
Csharp :: unity default cube mesh 
Csharp :: .net Core Return File like File Server 
Csharp :: loading screen unity 
Csharp :: unity transparent object 
Csharp :: c# list to array 
Csharp :: c# if statement one line 
Csharp :: unity detect keyboard not mouse 
Csharp :: how to instantiate a gameobject 
Csharp :: create instance of class given class name string c# 
Csharp :: failed to read the request form. missing content-type boundary .net core 
Csharp :: convert string to list int c# 
Csharp :: how to look for substring in string in c# 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =