Ok, so the netTogether function puts variables together:
String netTogether(int n1, int n2) {
String MainNet = "";
MainNet += n1;
MainNet += "#";
MainNet += n2;
return MainNet;
}
and the unNet function takes that net (e.g. "1#4#2000") and takes it apart