Split Line

Hey guys does anyone know a certain script that splits a line or a spline in 2 or more lines???