"johnabraham101" <jo************@discussions.microsoft.comschrieb :
I'm trying to write a some text to a text file using WriteAllText method.
This method works fine but I don't understand how can I use format
specifiers
to format the text as we use in C i.e "\n" for newline, "\t" for
tab,...etc.
s = _
"Hello" & ControlChars.Tab & "World" & ControlChars.NewLine _
"Second Line"
///
Note that the compiler will emit a single string literal to the assembly's
IL. No concatenation needs to be performed at runtime if all parts are
constant.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>