0
我有合并其他文件的内容的大文件。
每一个文件都在自己
开始在这个代码串我能赶上头的
如何通过文件头分割合并的文件?
private void button1_Click(object sender, EventArgs e)
{
string s = File.ReadAllText("D:\\test.img");
int i = 0;
while ((i = s.IndexOf("xxxyyyzzz", i)) != -1)
{
listBox1.Items.Add(i);
i++;
}
}
如何拆分与头字符串该文件的索引?