Last active
March 3, 2021 10:36
-
-
Save shaunmolloy/3e03839c64df820d6a9b1278e0c7fdeb to your computer and use it in GitHub Desktop.
Trim Text - Google Apps Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function TrimText() { | |
var sheet = SpreadsheetApp.getActive(); | |
sheet.getActiveRange().trimWhitespace(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment