@spiceErrorCheck<EOL>def ucase(inchar, lenout=None):
if lenout is None:<EOL><INDENT>lenout = len(inchar) + <NUM_LIT:1><EOL><DEDENT>inchar = stypes.stringToCharP(inchar)<EOL>outchar = stypes.stringToCharP("<STR_LIT:U+0020>" * lenout)<EOL>lenout = ctypes.c_int(lenout)<EOL>libspice.ucase_c(inchar, lenout, outchar)<EOL>return stypes.toPythonString(outchar)<EOL>
Convert the characters in a string to uppercase.

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

:param inchar: Input string.
:type inchar: str
:param lenout: Optional Maximum length of output string.
:type lenout: int
:return: Output string, all uppercase.
:rtype: str