Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# Contains()

string word = "Hello";
word.Contains("ello"); // This is true, because "Hello" contains "ello"
word.Contains("Mars"); // This is false, because "Hello" do no contains "Mars"
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+1 =