NAMEDENTRY

Returns the second of a pair of values from an element of a delimited list contained in a string, with the element named by the first value of the pair. If no element has the specified name as its pair’s first value, returns an empty string.

Return Value

String

Syntax

NAMEDENTRY( name, listString[, delimiter[, separator]] )

where:

  • name is the first value of the pair of values in the element in listString whose second value is to be returned.
  • listString is a string expression that consists of zero or more elements separated by the delimiter character.
  • delimiter is a character or string which separates elements in listString from each other. This argument is optional. If this argument is not used, the comma (,) character is used, and the equals sign (=) is used as the separator. In this case, each element may contain commas if they are enclosed within a ~LIT~(…) wrapper.
  • separator is a character or string which separates each value of the pair from each other, within each element in listString. If this argument is not used, the equals sign (=) is used.