using System;
using System.Text.RegularExpressions;
using System.Text;
public class Test
{
public static void Main()
{
string str = "STX8abcdefETXSTXNabcdefETX";
string[] mc = Regex.Split(str, @"(?=STX)");
foreach (string m in mc)
{
Console.WriteLine(m);
}
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uVGV4dC5SZWd1bGFyRXhwcmVzc2lvbnM7CnVzaW5nIFN5c3RlbS5UZXh0OwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXN0cmluZyBzdHIgPSAiU1RYOGFiY2RlZkVUWFNUWE5hYmNkZWZFVFgiOwoJCXN0cmluZ1tdIG1jID0gUmVnZXguU3BsaXQoc3RyLCBAIig/PVNUWCkiKTsKICAgICAgICBmb3JlYWNoIChzdHJpbmcgbSBpbiBtYykKICAgICAgICB7CiAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUobSk7CiAgICAgICAgfQoJfQp9