string tmp = "Monday; 12/11/2013 | 0.23.59
2013 年 12 月 11 日という日付文字列を取得するにはどうすればよいですか。私はこれを試しました:
int sep=tmp.IndexOf(";");
int lat=tmp.IndexOf("|");
string thu = tmp.Substring(0, sep);
string tem = tmp.Substring(lat + 1);
string ngay = tmp.Substring(sep, tmp.Length - (sep+tem.Length);
Console.WriteLine("Date: {0}", ngay);
これはC#でどのように行うことができますか?