[{"data":1,"prerenderedAt":48},["ShallowReactive",2],{"lesson-shell:text\u002Fsubstitute-replace:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"substitute-replace","Dana Novak","manages the office at Copperleaf Dental","\u002Fpersona\u002Fdana.webp",{"none":9,"win":36,"mac":42},{"title":10,"story":11,"steps":12},"Fix the phone numbers","The last problem in the export: phone numbers. The software writes 201\u002F555\u002F0142, but the phone system needs 201-555-0142. And from June, the area code 201 changes to 551. Dana fixes all numbers with two formulas.",[13,25],{"id":14,"title":15,"intro":16,"how":17,"example":23,"task":24},"substitute","Replace a character with SUBSTITUTE","SUBSTITUTE replaces each copy of a text with a new text. You do not need to know where it is.",[18,19,20,21,22],"Select the cell for the result.","Type =SUBSTITUTE( and the cell with the text. Type a comma.","Type the old text and the new text in quotes. Type a closing bracket.","Press Enter.","To remove a character, replace it with an empty text: =SUBSTITUTE(C5,\"\u002F\",\"\").","=SUBSTITUTE(C5,\"\u002F\",\"-\")","Fix all phone numbers. Fill in D6:D12.",{"id":26,"title":27,"intro":28,"how":29,"example":34,"task":35},"replace","Replace characters at a position with REPLACE","REPLACE replaces characters at a position. You tell it where to start and how many characters to replace.",[30,31,32,21,33],"Click cell E5.","Type =REPLACE( with the text, the start position and the number of characters.","Type the new text in quotes and a closing bracket.","SUBSTITUTE looks for a text. REPLACE uses a position. SUBSTITUTE(D5,\"201\",\"551\") would also change 201 in the middle of a number.","=REPLACE(D5,1,3,\"551\")","Change the area code of all numbers. Fill in E6:E12.",{"title":10,"story":11,"steps":37},[38,40],{"id":14,"title":15,"intro":16,"how":39,"example":23,"task":24},[18,19,20,21,22],{"id":26,"title":27,"intro":28,"how":41,"example":34,"task":35},[30,31,32,21,33],{"title":10,"story":11,"steps":43},[44,46],{"id":14,"title":15,"intro":16,"how":45,"example":23,"task":24},[18,19,20,21,22],{"id":26,"title":27,"intro":28,"how":47,"example":34,"task":35},[30,31,32,21,33],1795376395229]