@spiceErrorCheck<EOL>def lparse(inlist, delim, nmax):
delim = stypes.stringToCharP(delim)<EOL>lenout = ctypes.c_int(len(inlist))<EOL>inlist = stypes.stringToCharP(inlist)<EOL>nmax = ctypes.c_int(nmax)<EOL>items = stypes.emptyCharArray(lenout, nmax)<EOL>n = ctypes.c_int()<EOL>libspice.lparse_c(inlist, delim, nmax, lenout, ctypes.byref(n),<EOL>ctypes.byref(items))<EOL>return [stypes.toPythonString(x.value) for x in items[<NUM_LIT:0>:n.value]]<EOL>
Parse a list of items delimited by a single character.

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

:param inlist: list of items delimited by delim.
:type inlist: list
:param delim: Single character used to delimit items.
:type delim: str
:param nmax: Maximum number of items to return.
:type nmax: int
:return: Items in the list, left justified.
:rtype: list of str