src/Pure/General/word.scala
changeset 56610 5780bddbe9a1
parent 56609 5ac67041ccf8
child 56744 0b74d1df4b8e
--- a/src/Pure/General/word.scala	Thu Apr 17 10:54:10 2014 +0200
+++ b/src/Pure/General/word.scala	Thu Apr 17 10:58:10 2014 +0200
@@ -73,13 +73,6 @@
       else None
   }
 
-  def is_capitalized(str: String): Boolean =
-    str.length > 0 &&
-    Character.isUpperCase(str(0)) && str.substring(1).forall(Character.isLowerCase(_))
-
-  def is_all_caps(str: String): Boolean =
-    str.length > 0 && str.forall(Character.isUpperCase(_))
-
 
   /* sequence of words */