Ah well spotted thank you. So instead of Code: j<i you would suggest EDIT:: Code: j<strVector.size
j<i
j<strVector.size