C# Developers' Journal (original) (raw)
12:56p
i have a string named string1... i want to search string1 for the contents of string2, to see whether or not the text within string1 holds the text in string2... how do i create the code?
ex:
string1 = ("winter is the coldest season")
string2 = ("spring summer fall winter")
return = string1 contains 'winter'
thanks again,
oscar the inept programmer