Remove trailing ; from splits