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 / LOCATE.json @ 44053
History | View | Annotate | Download (626 Bytes)
1 | 44053 | omartinez | { |
---|---|---|---|
2 | "name": "LOCATE", |
||
3 | "group": "String", |
||
4 | "template": "LOCATE({{substring}}, string, start)", |
||
5 | "args": [
|
||
6 | "substring - The substring to search for in string",
|
||
7 | "string - The string that will be searched",
|
||
8 | "start - The starting position for the search. Position 1 is default"
|
||
9 | ], |
||
10 | "description": "Returns the location of a search string in a string. If a start position is used, the characters before it are ignored. If position is negative, the rightmost location is returned. 0 is returned if the search string is not found. |
||
11 |
|
||
12 | Example:
|
||
13 |
|
||
14 | LOCATE('.', NAME)",
|
||
15 | "returnType": "Double" |
||
16 | } |