standardlib.ysl2
changeset 17 3bc118c7d324
parent 10 519fb60037ce
child 20 c936066cff62
--- a/standardlib.ysl2	Sun Oct 15 09:05:19 2017 +0200
+++ b/standardlib.ysl2	Thu Apr 26 19:23:44 2018 +0200
@@ -59,3 +59,8 @@
     result "concat(yml:lcase(substring($text,1,1)),substring($text,2))";
 }
 
+def "yml:capit" {
+    param "text", "''";
+    result "concat(yml:ucase(substring($text,1,1)),substring($text,2))";
+}
+