Search
 
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);
}
 
PREVIOUS NEXT
Tagged: #remove #string #java
ADD COMMENT
Topic
Name
1+3 =