I have a string and I want to iterate in the string, then I want to get the string from an iterator pos to call stoi, I don\'t know if I\'m being clear enough, here\'s the code: