Do you ever need to split a camel case or pascal case string to a set of words? This can be achieved simply by regular expressions in Java as well as C#. The following code is for Java:
String camelCase = “StructuralDesignPattern”;
StringBuffer label = new StringBuffer(camelCase + 10);
[...]