skip to Main Content

Javascript – Parse CSV number as text

I am trying to import the following CSV data into a Google Sheet, preserving the number format "0001,0002,0003" as a string. CSV file 0001,0002,0003 test,test2,test3 I tried using Tanaike's code: Google Sheets Import CSV popup function importCsv(e){ if (!e) {…

VIEW QUESTION

Spllit an array in Javascript for Google Apps Script function

Current result has this: [ ['Cycling','Chess'], ['Cycling','Pilates'], ['Cycling','Elevate'], ['Cycling','Kundalini'], ['Cycling','Scrabble'], ['Cycling','Crossword'], ['Cycling','Darning'], ['Running','Ashtanga'], ['Running','Poker'], ['Running','Sudoku'], ['Running','Sewing'], ['Running','Jump'], ['Boxing','Mushin'], ['Boxing','Tai'], ['Boxing','Tae'], ['Boxing','1000'], ['Boxing','Transient'], ['Boxing','Walking'], ['Strength','Flow'], ['Strength','Tantric'], ['Strength','Quigong'], ['Strength','Active'] ] Split the array so that only the following remains: ['Chess'], ['Pilates'], ['Elevate'],…

VIEW QUESTION
Back To Top
Search