summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class8
1 files changed, 8 insertions, 0 deletions
diff --git a/it.class b/it.class
index 1c12ad4..f7ebbe9 100644
--- a/it.class
+++ b/it.class
@@ -441,6 +441,14 @@ static function ucfirst($string)
}
/**
+ * Lowercase first character similar to lcfirst() but for mbstring.internal_encoding
+ */
+static function lcfirst($string)
+{
+ return mb_strtolower(mb_substr($string, 0, 1)) . mb_substr($string, 1);
+}
+
+/**
* Uppercase first character of each word similar to ucwords() but for mbstring.internal_encoding
*/
static function ucwords($string)