I am rather new at java, and I know this cant be too difficult, but I cant quite figure it out.
String xxChange = request.getParameter("XXChange");
String yyChange = request.getParameter("YYChange");
String zzChange = request.getParameter("ZZChange");
String aaaChange = request.getParameter("AAChange");
So basically I am getting these parameters and just setting them to strings. Each one of these strings has multiple numbers then two letters after it, and my question is how do I remove the letters and set it to a new string. Fyi….the number in front of the letters is on a sequence, and could grow from being 1 digit to multiple, so i dont think i can do string.Substring.
You want to remove the last two characters, so use substring like this: