@spiceErrorCheck<EOL>def lstltc(string, n, lenvals, array):
string = stypes.stringToCharP(string)<EOL>array = stypes.listToCharArrayPtr(array, xLen=lenvals, yLen=n)<EOL>n = ctypes.c_int(n)<EOL>lenvals = ctypes.c_int(lenvals)<EOL>return libspice.lstltc_c(string, n, lenvals, array)<EOL>
Given a character string and an ordered array of character
strings, find the index of the largest array element less than
the given string.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstltc_c.html

:param string: Upper bound value to search against.
:type string: int
:param n: Number elements in array.
:type n: int
:param lenvals: String length.
:type lenvals: int
:param array: Array of possible lower bounds
:type array: list
:return:
        index of the last element of array that
        is lexically less than string.
:rtype: int