Top "Stringbuilder" questions

Stringbuilder is a class that provides a convenient and efficient way of working with text data in Java and .NET framework.

Why use StringBuilder explicitly if the compiler converts string concatenation to a StringBuilder automatically?

Possible Duplicate: StringBuilder vs String concatenation in toString() in Java I am wondering, since the compiler internally uses a StringBuilder …

java stringbuilder
replaceAll for StringBuilder with regex support?

I've looked in the Java API and some common 3rd party libraries but I'm unable to find a suitable method …

java regex string stringbuilder
Where to use StringBuffer/StringBuilder than String

Possible Duplicate: String, StringBuffer, and StringBuilder We know that String are immutable where StringBuffer/StringBuilder are mutable. But sometimes we …

java android string stringbuilder
Equivalent of StringBuilder for byte arrays

This is a simple one, and one that I thought would have been answered. I did try to find an …

c# bytearray stringbuilder
C# String.Substring equivalent for StringBuilder?

StringBuilder does not appear to have a Substring(start, len) method... what am I missing here?

c# substring stringbuilder
Why doesn't StringBuilder have IndexOf method?

I understand that I can call ToString().IndexOf(...), but I don't want to create an extra string. I understand that …

.net stringbuilder
Is .NET's StringBuilder thread-safe

The regular "Thread Safety" section of the MSDN documentation for StringBuilder states that: ...any instance members are not guaranteed to …

.net thread-safety stringbuilder
No reverse method in String class in Java?

Why there is no reverse method in String class in Java? Instead, the reverse() method is provided in StringBuilder? Is …

java string stringbuilder
String or StringBuilder return values?

If I am building a string using a StringBuilder object in a method, would it make sense to: Return the …

c# string return-value stringbuilder return-type
Trim whitespace from the end of a StringBuilder without calling ToString().Trim() and back to a new SB

What is an efficient way to trim whitespace from the end of a StringBuilder without calling ToString().Trim() and back …

c# stringbuilder