Created
June 26, 2019 09:13
-
-
Save PietrH/39858eda5041f15618aed4845dcc87d2 to your computer and use it in GitHub Desktop.
Checks if a string ends with a certain character, and if this is the case, omits that character in OpenRefine GREL
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
if(value.endsWith(';'),substring(value,0,-1),value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment