How do I change a String to an int?
This seems easy enough, but for some reason, I keep getting red lines and compile errors.
String array[] = ((String)arguements[0]).split("/");
int year = (int)array[0];
The string I'm trying to use is in a String array. When I go to compile this code, I get this error:
"Cannot cast from String to int"
Thanks for any help.

