scripting:api:text-document:get-char

GetChar

Method of ITextDocument

Returns the character to the right of the position (absolute)

var pnCharCode = TextDocument.GetChar(nAbsolute);
pnCharCode = TextDocument.GetChar nAbsolute
long nCharCode;
HRESULT hr = TextDocument.GetChar(nAbsolute, &nCharCode);