author | wenzelm |
Thu, 17 Apr 2014 10:58:10 +0200 | |
changeset 56610 | 5780bddbe9a1 |
parent 56609 | 5ac67041ccf8 |
child 56611 | eb088da48f86 |
--- 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 */