Google Drive, Javascript

How to trim all cells in Google Spreadsheets

I’ve been using Google Spreadsheets to clean data and I recently discovered this little script to trim (remove leading and