reorganize GrammarAST hierarchy to make clear the distinction between ElementNodes...
[sbp.git] / src / edu / berkeley / sbp / util / StringUtil.java
index ee6d486..a5a5d9a 100644 (file)
@@ -91,4 +91,9 @@ public class StringUtil {
         }
         return ret.toString();
     }
+
+    public static String uncapitalize(String s) {
+        if (s==null) return null;
+        return (""+s.charAt(0)).toUpperCase()+s.substring(1);
+    }
 }