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 @ 44089
History | View | Annotate | Download (567 Bytes)
1 |
{ |
---|---|
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 |
"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 |
"returnType": "String" |
15 |
} |