Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

replace last char in string java

if (fieldName.endsWith(",")) {
    fieldName = fieldName.substring(0, fieldName.length() - 1) + " ";
}
Source by www.xenovation.com #
 
PREVIOUS NEXT
Tagged: #replace #char #string #java
ADD COMMENT
Topic
Name
5+7 =