> > So in general reserving buffer space and copying all string in and > finally setting the length would be the way to go here, if I understand > correctly. Yes, and avoid repeated use of stringlist[x]. First assign to a local var, then use for length() and normal use, as Michael already noted.