Why the string parameter is evaluated to 0?