separate splines into multiple splines
Given a float list representing the parameters of the points we want to split at. We can compute a list with the last element removed and a list with the first element removed and use those lists as the start and end list of a trim node respectively as follows: