Podziel Java na listę
List<String> list = new ArrayList<String>(Arrays.asList(string.split(" , ")));
// string.split also accept regular expressions
Erorri Motrali
List<String> list = new ArrayList<String>(Arrays.asList(string.split(" , ")));
// string.split also accept regular expressions
String str= "abcdef";
String[] array=str.split("(?<=\\G.{2})");
System.out.println(java.util.Arrays.toString(array));
(2x+y)*(3x+5y)