Copy the given code to your Google Apps Script editor, save the code, and reload the relevant spreadsheet. Select the column to split and run the function from the "Custom Menu" tab in the spreadsheet.
People Mentioned
Khadka's Coding Lounge.
@kcl
As a freelancer, I create addons and scripts to automate google products such as sheets, Gmail, docs with apps script.