Globalised the netstream split function for future use.