December 2018
Beginner to intermediate
668 pages
15h 30m
English
Sometimes, you need to check whether a piece of text starts or ends with some characters or contains some characters:
string company = "Microsoft";
bool startsWithM = company.StartsWith("M");
bool containsN = company.Contains("N");
WriteLine($"Starts with M: {startsWithM}, contains an N:{containsN}");
Read now
Unlock full access