svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.expressionevaluator / org.gvsig.expressionevaluator.lib / org.gvsig.expressionevaluator.lib.impl / src / main / resources / org / gvsig / expressionevaluator / functions / en / LPAD.json @ 44110
History | View | Annotate | Download (594 Bytes)
1 | 44053 | omartinez | { |
---|---|---|---|
2 | "name": "LPAD", |
||
3 | "group": "String", |
||
4 | "template": "LPAD({{string}}, len, padstr)", |
||
5 | "args": [
|
||
6 | "string - The original string.",
|
||
7 | "len - The length of the string after it has been left-padded",
|
||
8 | "padstr - The string to left-pad to string"
|
||
9 | ], |
||
10 | 44089 | omartinez | "description": ["Left pad the string to the specified length.", |
11 | "If the length is shorter than the string, it will be truncated at the end.",
|
||
12 | "If the padding string is not set, spaces will be used.",
|
||
13 | "Example: LPAD(AMOUNT, 10, '*') "],
|
||
14 | 44110 | omartinez | "returnType": "String", |
15 | "sqlCompatible": true |
||
16 | 44053 | omartinez | } |