this would fail if an empty delimiter is passed on constructor