String text = "Int--String";
String[] parts = text.split("--");
String part0 = parts[0];//"Int"
String part1 = parts[1];//"String"
System.out.println(part0/*"Int"*/ + " is a datatype for a number and a " +
part1/*"String"*/ + " is a datatype for a text.");
// Output: Int is a datatype for a number and a String is a datatype for a text.