def lx4dec(string, first):
    """
    Scan a string from a specified starting position for the
    end of a decimal number.

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

    :param string: Any character string.
    :type string: str
    :param first: First character to scan from in string.
    :type first: int
    :return: last and nchar
    :rtype: tuple
    """
    string = stypes.stringToCharP(string)
    first = ctypes.c_int(first)
    last = ctypes.c_int()
    nchar = ctypes.c_int()
    libspice.lx4dec_c(string, first, ctypes.byref(last), ctypes.byref(nchar))
    return last.value, nchar.value
Scan a string from a specified starting position for the
    end of a decimal number.

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

    :param string: Any character string.
    :type string: str
    :param first: First character to scan from in string.
    :type first: int
    :return: last and nchar
    :rtype: tuple