Function split() is deprecated

Function split() is deprecated.