add a check for valid string length before accessing string via index
add a check for valid string length before accessing string via index

conan-io/conan,memsharded/conan,memsharded/conan,memsharded/conan,memsharded/conan,conan-io/conan,conan-io/conan