You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to do some dynamic flattening, and the only issue I cant get around, is that there are some characters I am replacing, that may appear at the ends and inside the string, so I am not able to stop my macro from creating trailing underscores
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to do some dynamic flattening, and the only issue I cant get around, is that there are some characters I am replacing, that may appear at the ends and inside the string, so I am not able to stop my macro from creating trailing underscores
eg:
{{ row.replace(".",'_') .replace(".",'_') .replace(" : ",'_') .replace(":",'') .replace(",",'_') .replace("?",'') .replace("-", '_') .replace('/', '_') .replace('(','_') .replace(')','') .replace(' ', '_') .replace('___','_') .replace('__','_').upper() }}
Beta Was this translation helpful? Give feedback.
All reactions