code: def isrchc(value, ndim, lenvals, array):
      
      value = stypes.stringToCharP(value)
      array = stypes.listToCharArrayPtr(array, xLen=lenvals, yLen=ndim)
      ndim = ctypes.c_int(ndim)
      lenvals = ctypes.c_int(lenvals)
      return libspice.isrchc_c(value, ndim, lenvals, array)
docs: Search for a given value within a character string array. Return
      the index of the first matching array entry, or -1 if the key
      value was not found.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchc_c.html
  
      :param value: Key value to be found in array.
      :type value: str
      :param ndim: Dimension of array.
      :type ndim: int
      :param lenvals: String length.
      :type lenvals: int
      :param array: Character string array to search.
      :type array: list of str
      :return:
              The index of the first matching array element or -1
              if the value is not found.
      :rtype: int