From b46cbbe4259b9eecd0b0735f52e26b1ae817352c Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Sat, 26 Sep 2015 21:26:11 +0200 Subject: [PATCH] fix mixup between lpad/rpad help (fixes #13433) --- resources/function_help/json/lpad | 11 +++++------ resources/function_help/json/rpad | 11 ++++++----- 2 files changed, 11 insertions(+), 11 deletions(-) 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'"} ] }