Error pos is returned
Spaces are skipped