str1 = "AAA\tBBB\tCCC\tDDD";
str2 = "0002 02001 2 001002005";
var dict = str1.Split('\t').Zip(str2.Split(' '), (x, y) => new { x, y }).ToDictionary(x => x.x, x => x.y);
Console.WriteLine(dict["AAA"]); // 0002
str2 = "0002 02001 2 001002005";
var dict = str1.Split('\t').Zip(str2.Split(' '), (x, y) => new { x, y }).ToDictionary(x => x.x, x => x.y);
Console.WriteLine(dict["AAA"]); // 0002
0002\t02001\t2\t\t\t\t\t\t\t1\t0\t10:10:05
怎么简单的能把红色的\t 替换为x
string s = "0002\t02001\t2\t\t\t\t\t\t\t1\t0\t";
s = s.Replace("\t", "x");
???