added split method to sanitizer