Replace all occurences in variable with replacement