How do you replace the first occurrence of "apple" with "orange" in a string?
const str = "I have an apple";
str.swap("apple", "orange")
str.switch("apple", "orange")
str.replaceAll("apple", "orange")
str.replace("apple", "orange")