From 79c9245fd80dc39f21593f1b96c63c2515e61059 Mon Sep 17 00:00:00 2001 From: zanninso <47645687+zanninso@users.noreply.github.com> Date: Thu, 20 Jul 2023 18:26:41 +0100 Subject: [PATCH] fix: change StringContain -> StringReplace (#2095) --- subjects/java/piscine/StringReplace/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subjects/java/piscine/StringReplace/README.md b/subjects/java/piscine/StringReplace/README.md index 34859b686..4db4001ec 100644 --- a/subjects/java/piscine/StringReplace/README.md +++ b/subjects/java/piscine/StringReplace/README.md @@ -23,9 +23,9 @@ Here is a possible ExerciseRunner.java to test your function : ```java public class ExerciseRunner { public static void main(String[] args) { - System.out.println(StringContain.replace("javatpoint is a very good website", 'a', 'e')); - System.out.println(StringContain.replace("my name is khan my name is java", "is","was")); - System.out.println(StringContain.replace("hey i'am java", "I'am","was")); + System.out.println(StringReplace.replace("javatpoint is a very good website", 'a', 'e')); + System.out.println(StringReplace.replace("my name is khan my name is java", "is","was")); + System.out.println(StringReplace.replace("hey i'am java", "I'am","was")); } } ```