changeset 10 | 519fb60037ce |
parent 0 | 76005e62091d |
child 17 | 3bc118c7d324 |
--- 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))"; +} +