@tchize said:Using explicitly stringbuilder/stringbuffer is ony usefull in java where you know you are making lots of concats that the compiler won't optimize for you. Like spreading the concat in different methods or using loops with conditionnal logic in it And if you're doing all that and the code is slow enough to need optimising, you should be giving serious thought to whether Java is the correct language to be writing this code in.