remainder is not always None may receive an empty string as well.