replace()

replace sostituisce parti di un testo con un altro testo.

 

replace("race result"; " "; "-") - restituisce "race-result".