DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
remove last character from string java
private
static
String
removeLastChar
(
String
str
)
{
return
str
.
substring
(
0
,
str
.
length
(
)
-
1
)
;
}
PREVIOUS
NEXT
Tagged:
#remove
#character
#string
#java
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit