SUBSTITUTE(text, old_text, new_text)Substitutes new_text for old_text in a text string. Use SUBSTITUTE when you want to replace specific text in a text string
Example:
SUBSTITUTE("I am learning Apex", "Apex", "Java") = I am learning Java