Yngvarr

Generation

generate functionFri, 13 Jan 2023

replace in string

function replace(str, a, b) { return str.replace(a, b); } replace("Hello world", "world", "seattle")

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant