Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# find substring in string

string fullName = "John Doe";
bool nameInFullName = fullName.Contains("John");
// nameInFullName is true
 
PREVIOUS NEXT
Tagged: #find #substring #string
ADD COMMENT
Topic
Name
6+6 =