on special demand
authorVolker Birk <vb@pep.foundation>
Thu, 26 Apr 2018 19:23:44 +0200
changeset 17 3bc118c7d324
parent 16 da8160da8d3e
child 18 e14c2324eb0e
on special demand
standardlib.ysl2
--- 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))";
+}
+