using System;
public class Test
{
public static void Main()
{
string temp = "Hello;World;Test;Split";
// string[] tempSplited = temp.Split(" ", 6, StringSplitOptions.RemoveEmptyEntries);
string[] tempSplited = temp.Split(";", 6, StringSplitOptions.RemoveEmptyEntries);
foreach (string str in tempSplited) {
Console.WriteLine(str.ToString());
}
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXN0cmluZyB0ZW1wID0gIkhlbGxvO1dvcmxkO1Rlc3Q7U3BsaXQiOwoJCS8vIHN0cmluZ1tdIHRlbXBTcGxpdGVkID0gdGVtcC5TcGxpdCgiICIsIDYsIFN0cmluZ1NwbGl0T3B0aW9ucy5SZW1vdmVFbXB0eUVudHJpZXMpOwoJCXN0cmluZ1tdIHRlbXBTcGxpdGVkID0gdGVtcC5TcGxpdCgiOyIsIDYsIFN0cmluZ1NwbGl0T3B0aW9ucy5SZW1vdmVFbXB0eUVudHJpZXMpOwoJCWZvcmVhY2ggKHN0cmluZyBzdHIgaW4gdGVtcFNwbGl0ZWQpIHsKCQkJQ29uc29sZS5Xcml0ZUxpbmUoc3RyLlRvU3RyaW5nKCkpOwoJCX0KCX0KfQ==