diff -r 0250d70228bc -r 519fb60037ce standardlib.ysl2 --- a/standardlib.ysl2 Tue Apr 25 20:46:59 2017 +0200 +++ b/standardlib.ysl2 Sat Jun 03 19:30:27 2017 +0200 @@ -53,3 +53,9 @@ param "text", "''"; result "translate($text, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"; } + +def "yml:mixedCase" { + param "text", "''"; + result "concat(yml:lcase(substring($text,1,1)),substring($text,2))"; +} +