Handle the case where there is no space character