[sr-dev] git:master:b83a165e: core: str2int() test first if result is null, otherwise init it to 0