public string cutString(string sourceText, string splitUnit)
{
int x = sourceText.LastIndexOf(splitUnit);
if (-1 = = x)
返回sourceText;
否则
返回sourceText.Substring(x 1,sourceText.Length - x-1);
}