DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
remove new line in string of java
String text = "line 1 line 3 line 5"; String adjusted = text.replaceAll("(?m)^[ ]* ? ", "");
PREVIOUS
NEXT
Tagged:
#remove
#line
#string
#java
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit