DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
remove last
from string java
String
s
=
"blah blah <br/>"
;
if
(
s
.
endsWith
(
"<br/>"
)
)
{
s
=
s
.
substring
(
0
,
s
.
length
(
)
-
5
)
;
}
Source by www.xenovation.com #
PREVIOUS
NEXT
Tagged:
#remove
#string
#java
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit