@spiceErrorCheck<EOL>def repmc(instr, marker, value, lenout=None):
if lenout is None:<EOL><INDENT>lenout = ctypes.c_int(len(instr) + len(value) + len(marker) + <NUM_LIT:15>)<EOL><DEDENT>instr = stypes.stringToCharP(instr)<EOL>marker = stypes.stringToCharP(marker)<EOL>value = stypes.stringToCharP(value)<EOL>out = stypes.stringToCharP(lenout)<EOL>libspice.repmc_c(instr, marker, value, lenout, out)<EOL>return stypes.toPythonString(out)<EOL>
Replace a marker with a character string.

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

:param instr: Input string.
:type instr: str
:param marker: Marker to be replaced.
:type marker: str
:param value: Replacement value.
:type value: str
:param lenout: Optional available space in output string
:type lenout: int
:return: Output string.
:rtype: str