How to split a curve by a point?

here’s a simple Python script that does exactly this​:joy::joy:
simple splitting curves.gh (5.9 KB)