From 8e8c1c67d1315c52a689ffff71bdc3f9c6d0aeeb Mon Sep 17 00:00:00 2001 From: Thirumal Venkat Date: Fri, 8 May 2015 23:26:41 +0530 Subject: [PATCH] Added clarification to Search and Replace bonfire --- seed_data/bonfires.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seed_data/bonfires.json b/seed_data/bonfires.json index c5e6d75798..1045a4fd0e 100644 --- a/seed_data/bonfires.json +++ b/seed_data/bonfires.json @@ -351,7 +351,8 @@ "Perform a search and replace on the sentence using the arguments provided and return the new sentence.", "First argument is the sentence the perform the search and replace on.", "Second argument is the word that you will be replacing (before).", - "Third argument is what you will be replacing the second argument with (after)." + "Third argument is what you will be replacing the second argument with (after).", + "NOTE: Preserve the case of the original word when you are replacing it. For example if you mean to replace the word 'Book' with the word 'dog', it should be replaced as 'Dog'" ], "challengeSeed": "function replace(str, before, after) {\n return str;\r\n}\n\nreplace(\"A quick brown fox jumped over the lazy dog\", \"jumped\", \"leaped\");", "MDNlinks" : ["Array.splice()", "String.replace()", "Array.join()"]