Forum Post: is there a 'reverse' ENTRY function in ABL?

  • Thread starter Thread starter romelwell
  • Start date Start date
Status
Not open for further replies.
R

romelwell

Guest
Forgive my ignorance, however with regards to the ENTRY function, it searches a list, left-to-right, for values based on an integer position and delimited by the specified delimiter. Is there a function that will allow us to search a list in ‘reverse’ order, right-to-left ? ENTRY function Returns a character string (CHARACTER or LONGCHAR) entry from a list based on an integer position. Syntax element An integer value that corresponds to the position of a character string in a list of values. If the value of element does not correspond to an entry in the list, the AVM raises the ERROR condition. If the value of element is the Unknown value (?), ENTRY returns the Unknown value (?). If element is less than or equal to 0, or is larger than the number of elements in list, ENTRY returns an error. list A list of character strings separated with a character delimiter. The list can be a variable of type CHARACTER or LONGCHAR. If the value of list is the Unknown value (?), ENTRY returns the Unknown value (?). character A delimiter you define for the list. The default is a comma. This allows the ENTRY function to operate on non- comma-separated lists. If you use an alphabetic character, this delimiter is case sensitive.

Continue reading...
 
Status
Not open for further replies.
Back
Top