Created
June 8, 2017 00:36
-
-
Save joshschmelzle/40e5bc760c8efa50ec4ff4068f2bded7 to your computer and use it in GitHub Desktop.
Google Sheets script to return the word at a desired position in a string split by a space.
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 FINDCUSTOMVALUE(inpt, pos) { | |
var array = inpt.split(" "); | |
return array[pos]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment