//*******************【split】**********************
string str = "yyyy-MM-dd";
string[] splitArray = str.Split('-'); //splitArray[0]:yyyy splitArray[1]:MM splitArray[2]:dd
string str1 = "yyyy_MM-dd"; //splitArray[0]:yyyy splitArray[1]:MM splitArray[2]:dd
string[] splitArray1 = str1.Split(new char[2]{'-','_'});
//*******************【SubString】**********************
string str2 = "yyyy-MM-dd";
int startPos = 2;
int strLength = 4;
string subString = str2.Substring(startPos, strLength); // subString:"yy-M"
string subString1 = str2.Substring(startPos); //subString2:"yy-MM-dd"
//*******************【Replace】**********************
string str3 = "yyyy-MM-dd";
string strReplace = str3.Replace("MM", "mm"); //strReplace: "yyyy-mm-dd"
string strReplace1 = str3.Replace("MM", ""); //strReplace1:"yyyy--dd"
string strReplace2 = str3.Replace("MM", " "); //strReplace2:"yyyy- -dd"
//*******************【Remove】**********************
string str4 = "yyyy-MM-dd";
string strRemove = str4.Remove(3); //strRemove:"yyy"
string strRemove1 = str4.Remove(0, str4.Length - 1); //strRemove1:"d"