Revision 47710 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/SUBSTRING.json
SUBSTRING.json | ||
---|---|---|
3 | 3 |
"group": "String", |
4 | 4 |
"template": "SUBSTR({{string}}, start, length)", |
5 | 5 |
"args": [ |
6 |
"string - The string to extract from", |
|
7 |
"start - The start position.",
|
|
8 |
"lenght - The number of characters to extract." |
|
6 |
"string - The string to extract from.",
|
|
7 |
"start - The start position. The first position in string is 1.",
|
|
8 |
"lenght - The number of characters to extract. Must be a positive number."
|
|
9 | 9 |
], |
10 |
"description": "Returns a substring of a string starting at a position. If the start index is negative, then the start index is relative to the end of the string. The length is optional. Also supported is: SUBSTRING(string [FROM start] [FOR length]). Example: SUBSTR('[Hello]', 2, 5); SUBSTR('Hello World', -5);",
|
|
10 |
"description": "substring is a triadic function, SUBSTRING, that returns a string extracted from a given string according to a given numeric starting position and a given numeric length.\nTruncation occurs when the implied starting and ending positions are not both within the given string.",
|
|
11 | 11 |
"returnType": "String", |
12 | 12 |
"sqlCompatible": true |
13 | 13 |
} |
Also available in: Unified diff