substitute vs replace. There are any references about substitute vs replace in here. you can look below.