String test = "Ali X Akbar X Jamal X Anjum";
String[] splitTest = test.split(" X ");
System.out.print(Arrays.toString(splitTest));
String name = "Mississippi";
String[] splitName = name.split("s");
System.out.print(Arrays.toString(splitName));