Introducing a version of the parsing function working with NULL-terminated strings.