DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
java replace character in string
String
s
=
"new String"
;
String
replaced
=
s
.
replace
(
"new"
,
"Test"
)
;
^
^
old
new
char
PREVIOUS
NEXT
Tagged:
#java
#replace
#character
#string
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit