#(JustinS) Remove "_all" from string, if it's there

5 messages · Page 1 of 1 (latest)

twin robin
#

I have a string that can either be x or x_all.
If the _all is present, I need to remove it from the string. How would I go about doing this?

dusk lindenBOT
#

(JustinS) Remove "_all" from string, if it's there

dusk lindenBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

twin robin
#

I could use elementtag.ends_with[_all], but how do I remove the _all>