Remove empty values from splitString. fix #1795