Name: sg39081 Date: 08/14/97
An instance of string should be able to replace substrings within itself with other strings.
e.g. "This is a test".replaceSubstring("test","xxxx") should return "This is a xxxx"
======================================================================
- duplicates
-
JDK-4077297 rfe: java.lang.String ( String oldSubstr, String newSubstr ) would be nice.
-
- Closed
-
-
JDK-4076965 StringBuffer should contain a replace method
-
- Closed
-