Distance along curve

How can I find the distance along a curve from a starting point?

I see a request for such a feature here:

https://mcneel.myjetbrains.com/youtrack/issue/RH-25520

Hello - you can use Length and SubCrv.

-Pascal