i used this code to split the mathematical expression. how can i save the number in String named Value 1/2/3 and operators in String named operator 1/2?
enter code here
String myString= "1+2/3";
String[] result = myString.split("(?<=[-+*/])|(?=[-+*/])");
System.out.println(Arrays.toString(result));