IMathLinkGetStringCRLF Method

Reads a Wolfram Language character string and translates newlines into Windows format.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
string GetStringCRLF()

Return Value

String

Remarks

Wolfram Language strings use a \n character (ASCII 10) for newlines. If you want to display a string read from the Wolfram Language in a Windows text control, the string needs to have newlines in the \r\n Windows convention. This method reads the string and converts to the Windows newline convention.

Exceptions

MathLinkExceptionIf the waiting data cannot be read in this format, or on any other MathLink error.

See Also