← lower operator page · string/lower/sc/capitalised_word

Capitalised word 🟢 all ok

pandas ✅ · DuckDB ✅

Tests:

lower(SC_1) with SC_1 = Hello, a capitalised word, the counterpart of the page's upper("Hello").

Manual:

Character case conversion: "Converts the character case of a string in upper or lower case." Its scalar example is upper("Hello"), which gives "HELLO".

Expected:

SC_r is hello, a String.

script.vtl ⇩

SC_r := lower(SC_1);

input/scalars.csv ⇩

SC_1
Hello

input/scalars.json ⇩

{
  "scalars": [
    {"name": "SC_1", "type": "String"}
  ]
}

expected/scalars.json ⇩

{
  "scalars": [
    {"name": "SC_r", "type": "String", "value": "hello"}
  ]
}