Explanation
The SUBSTITUTE function lets you replace text by matching content.
In this case, we want to remove hyphens from telephone numbers.
SUBSTITUTE will replace all instances of “-” with nothing.
Note that SUBSTITUTE is a case-sensitive function.
SUBSTITUTE is case-sensitive and does not support wildcards….