Answers for "replacing the last 4 character in java"

0

replace last char in string java

if (fieldName.endsWith(",")) {
    fieldName = fieldName.substring(0, fieldName.length() - 1) + " ";
}
Posted by: Guest on December-07-2020

Code answers related to "replacing the last 4 character in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language