[quoted text, click to view] Herfried K. Wagner [MVP] wrote:
> "tshad" <t@home.com> schrieb:
>> Dim str As String = String.Format("Days Left : {0}. Current DataTime:
>> {1:u}.
>> \n String: {2}, Float: {3}", val, DateTime.Now, name, num)
>> Console.WriteLine(str)
>>
>> The line should break before the "String:", but it doesn't and displays
>> showing the "\n".
>
> '"... {1:u} " & ControlChars.NewLine & " String: {2}..."'.
>
Note:
The ControlChars.NewLine is the newline string used in dos/windows
systems, the same as ControlChars.CrLf. The Environment.NewLine propery
returns the appropriate newline string regarless of system.
--
Göran Andersson
_____