Curve to coordinates?

I need to create a curve and use some of it’s points as digits. I can do my own math about this and create multiple variables or array but if such node exist that would be very helpful