StringBuilder text; // ... final int length = text.length(); if ( length > 0 ) { // We remove the last character. text.deleteCharAt( length - 1 ); }
Post a Comment
No comments:
Post a Comment