getting a string full of apostrophes
-
I'm making a log file and want to have a string of apostrophes to separate parts of the log file. Dim divider As String Dim t As TextStream 'other declarations are there like FileSystemObject but its irrelevant. The log works besides this string I desire' divider = "''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''" t.WriteLine(divider) Now I've tried using the escape character \', using hyphens (-) and asterisks(*). Any ideas?
-
I'm making a log file and want to have a string of apostrophes to separate parts of the log file. Dim divider As String Dim t As TextStream 'other declarations are there like FileSystemObject but its irrelevant. The log works besides this string I desire' divider = "''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''" t.WriteLine(divider) Now I've tried using the escape character \', using hyphens (-) and asterisks(*). Any ideas?
Hi, string class has a constructor specially for you: new String(char, repeatCount) :)
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }