if you could publish your code and others could run it, then perhaps we'll get to the bottom of this. i'm also wondering about your phrase about converting string to stringbuffer. on the face of it, a single stringbuffer used instead of the multiple objects created by concatenating string objects should be more efficient.
[ May 06, 2004: Message edited by: a sanjuan ]