Remove all text characters of items after a given character

Hi everyone,

Can anyone tell me how to remove all characters of string after a given character?
In my task I need to remove everything after “:” and then if it is possible with “:”.


In this photo, I have an item “3DLeafHeight : 199” and I’d like to remove “: 199” and do it with all of them.

Thank you in advance

You can use string.split for that:

2 Likes

thank you so much, have a nice day

No problem! Have a nice day yourself!

If i solved your question, please remember to click the solved button on the comment :slight_smile: