Variable results coming from strings remove prior to character node

Hey can anyone explain to me what is happening that is giving me incorrect results in some of the results. it seems to wokr for the majority, and just makes and incorrect result for a few of the items.

Attached is an image of both the result coming out of the node, as well as the node transferred into the graph… it’s a section of a long list of numbers separated by hyphen. I’m splitting them to generate them as full number ranges.

It just seems to be getting a only few of them wrong, and I can’t understand why. Wrong I can deal with, correct I like, variable makes me nervous.

Any thoughts?

Hi,
Don’t have this node so don’t know why it’s failing :smiley:
but here’s another solution:

1 Like

who knows, but that’ll sort me out in the short term! cheers!