i 载有这些字句的案文。
PEOPLE
John
0218753458
ENTERPRISE
stock
30%
HOME
Indiana
West Virginia
PEOPLE
Vahn
031245678
ENTERPRISE
Inc
50%
HOME
melbourne
Australia
i 想将这些档案分为几处,将每一组分别分为PEOPLE、ENTERPRISE和HOME。 例如,产出将是
第一部分[0]
PEOPLE
John
0218753458
part[1]
ENTERPISE
stock
30%
页: 1
HOME
Indiana
West Virginia
页: 1
i) 有计划使用
EDIT #1 (thanks @Slade)
string[] part = s.Split(new string[] { "PEOPLE","ENTERPRISE","HOME" }, StringSplitOptions.None);
i can t change the structure. is there any way to keep the HEADER? or better way to do this?