listLast
Syntax
string listLast(stringList)
Parameters
- stringList (string)
Returns
Returns last item in stringList.
Description
This function returns the last item in the stringList.
Note: String lists are a series of strings stored inside one string. The elements are separated by a semicolon (";"). The data type is "string", thus it is not any real type of array as used in other scripting languages.
Related
- listAdd function
- listClean function
- listCount function
- listFirst function
- listIndex function
- listItem function
- listRandom function
- listRange function
- listRemove function
- listRemoveAll function
- listRetainAll function
- listSize function
- listTerminate function
Examples
listLast("rule;your;city;") # result = "city" listLast(fileSearch("myProject/assets/image*.jpg")) # result = the image from that directory with the highest index
Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.