Reads a Mathematica character string and translates newlines into Windows format.
Mathematica strings use a \n character (ASCII 10) for newlines. If you want to display a string read from Mathematica 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.
Exception Type | Condition |
---|---|
MathLinkException | If the waiting data cannot be read in this format, or on any other MathLink error. |
IMathLink Interface | Wolfram.NETLink Namespace | GetString