diff -r da8160da8d3e -r 3bc118c7d324 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))"; +} +