Char.IsLetter(a)
-------------------------------------------------------------------------
String.Compare("aaa","bb");
b>a
大于返回1 相等返回0 小与返回-1
-------------------------------------------------------------------------
String.Equals("a","b");
true false
--------------------------------------------------------------------------
str2.Insert(0,"a");
插入字符串
--------------------------------------------------------------------------
"wertyui"
str2.Remove(3);
"wer"
数组
--------------------------------------------------------------------------
"qwerty"
str2.Remove(1,2);
"qrty"
数组
--------------------------------------------------------------------------
strb=String.Copy(stra);
复制a给b
-----------------------------------------------------------------------------
str1.CopyTo(1,"abcdef",0,4);
"yy"
"bcde"
---------------------------------------------------------------------------------
a.Replace("a","b");
---------------------------------------------------------------------------------
StringBuilder MY=new StringBuilder("HELLOWORLD");
省位置。需要不断修改。
一个MY用多次
---------------------------------------------------------------------------------