Out­-of­-equilibrium dynamics and thermalization of string order