adding mixedCase()

python3
Volker Birk 6 years ago
parent 932da9d702
commit 54648171f4
  1. 6
      standardlib.ysl2

@ -53,3 +53,9 @@ def "yml:ucase" {
param "text", "''";
result "translate($text, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')";
}
def "yml:mixedCase" {
param "text", "''";
result "concat(yml:lcase(substring($text,1,1)),substring($text,2))";
}

Loading…
Cancel
Save