Split number and word from text string

Hello,
There is a way to separate (isolate) text and numbers from unique string?
for e.g.:
6th in 6 and th (as a list)
12th in 12 and th (as a list)
and so on.

Thank you

I guess you can literally oneline that with code :smiley:

this is the first thing that comes to my mind with vanilla components, which looks pretty too much complex to be fair…


split_letters_from_digits.gh (12.7 KB)

1 Like

Not sure if you just wanted the number?

1 Like

check this out -


breaking numbers and text.gh (14.2 KB)
you can cluster it for later use if you do this frequently

1 Like