Thanks all, for the various helpful messages on what the maximum length a String can hold is. My question was answered by the FAQ at JGuru, which says that a String's maximum length is 2^31-1 characters, which in my case is more than enough. Once again, thanks to everyone for their help. Cem