DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+4 =
Submit