Well Im trying to get the string called URL to be split at the & and = signs but im running into a few errors using tokens. Its a simple code but the tokens keep saying its unresolved. my code:
public class URL {
public static void main(String[] args) {
String URL = "NAME=Greg&EMAIL=G@email.edu&SSNO=12345678&PREVCOU RSES=Math+110&REASON=To+learn+programming&Special+ Interests=robots";
String() token = URL.split("&");
for (String t ; ta)
(
String() A= t.split("=");
for (String h ; A);
System.out.println(URL);
}
}