Not all compilers recognize front() and back() of std::string.

Re #7623
Merge branch 'feature/7623_vector_attributes' into develop