이미 하늘아륑님께서 답변해주셨지만 그냥 코드로 더 설명하자면
String temp = "52+542+332*" 라고 할때
int length = temp.lengh() - 1;
String temp2 = temp.charAt(length); 하시면 되겠네요