Ah got it, you check if it's not the \0 final character aka empty string...