diff --git a/resources/function_help/json/lpad b/resources/function_help/json/lpad index 58b0ae0f0a7..dc647114d9e 100644 --- a/resources/function_help/json/lpad +++ b/resources/function_help/json/lpad @@ -1,12 +1,11 @@ { - "name": "lpad", + "name": "rpad", "type": "function", "description": "Returns a string padded to supplied width using a fill character.", - "arguments": [ - {"arg":"string","description":"string to pad"}, - {"arg":"width","description":"length of new string"}, - {"arg":"fill","description":"character to pad the remaining space with"} + "arguments": [ {"arg":"string","description":"string to pad"}, + {"arg":"width","description":"length of new string"}, + {"arg":"fill","description":"character to pad the remaining space with"} ], - "examples": [ { "expression":"lpad('Hello', 10, 'x')", "returns":"'Helloxxxxx'"} + "examples": [ { "expression":"rpad('Hello', 10, 'x')", "returns":"'xxxxxHello'"} ] } diff --git a/resources/function_help/json/rpad b/resources/function_help/json/rpad index dc647114d9e..58b0ae0f0a7 100644 --- a/resources/function_help/json/rpad +++ b/resources/function_help/json/rpad @@ -1,11 +1,12 @@ { - "name": "rpad", + "name": "lpad", "type": "function", "description": "Returns a string padded to supplied width using a fill character.", - "arguments": [ {"arg":"string","description":"string to pad"}, - {"arg":"width","description":"length of new string"}, - {"arg":"fill","description":"character to pad the remaining space with"} + "arguments": [ + {"arg":"string","description":"string to pad"}, + {"arg":"width","description":"length of new string"}, + {"arg":"fill","description":"character to pad the remaining space with"} ], - "examples": [ { "expression":"rpad('Hello', 10, 'x')", "returns":"'xxxxxHello'"} + "examples": [ { "expression":"lpad('Hello', 10, 'x')", "returns":"'Helloxxxxx'"} ] }