remoce last character froma java string

59

remoce last character froma java string -

str = str.substring(0, str.length() - 1);

Comments

Submit
0 Comments