Nul char is not counted in string length
Fixed typo for parsing + before numbers