public static void Main()
Console.WriteLine("Please enter your name");
string STRname = Console.ReadLine();
Console.WriteLine(STRname.Length);
Console.WriteLine("===================");
string strTransformation = "My FIrst stRinG.";
Console.WriteLine(strTransformation.ToLower());
Console.WriteLine(strTransformation.ToUpper());
Console.WriteLine("===================");
string strTrim = " my string test ";
Console.WriteLine(strTrim.Trim());
Console.WriteLine("===================");
string strSample = "Is it a book?";
bolHasPeriod = strSample.Contains(".");
Console.WriteLine("Is there a peiod: {0}",bolHasPeriod);
bolIsStartWithIs = strSample.StartsWith("Is");
Console.WriteLine("Does it start with \"Is\": {0}",bolIsStartWithIs);
bolIsQuestion = strSample.EndsWith("?");
Console.WriteLine("Does it end with \"?\": " + bolIsQuestion);
strSample = "Indiana University";
intN = strSample.IndexOf("n");
Console.WriteLine("intN:" + intN);
Console.WriteLine("=========================");
string strEmail = "superman@iu.edu";
strUser = strEmail.Substring(0,8);
Console.WriteLine("User is: {0}",strUser);
strDomain = strEmail.Substring(8);
Console.WriteLine("Domain is: {0}",strDomain);
Console.WriteLine("===================");
string strPhone = "812.212.3456";
strPhone = strPhone.Replace(".","*");
Console.WriteLine("strPhone:" + strPhone);
strPhone = "812.212.3456";
strPhone = strPhone.Remove(4,3);
Console.WriteLine("strPhone:" + strPhone);
strPhone = strPhone.Insert(0,"(");
strPhone = strPhone.Insert(4,")");
Console.WriteLine("strPhone:" + strPhone);
Console.WriteLine("===================");