Thanks. That was of great help.
On 11 June 2013 00:09, Evan Nemerson wrote:
> On Mon, 2013-06-10 at 18:22 +0530, Satyajit Sahoo wrote:
> > Hi. I'm trying to write a multiline string into a file,
> >
> > e.g.
> >
> > string new = """Line 1 and %s
> >
> > Line 2 and %s
> >
> > Line 3
> >
> > Line
On Mon, 2013-06-10 at 18:22 +0530, Satyajit Sahoo wrote:
> Hi. I'm trying to write a multiline string into a file,
>
> e.g.
>
> string new = """Line 1 and %s
>
> Line 2 and %s
>
> Line 3
>
> Line 4""".printf (var1, var2);
>
> The problem is, when I write it to the file, the lines from the 2nd
t; > From: Satyajit Sahoo
> > Sender: "vala-list"
> > Date: Mon, 10 Jun 2013 18:22:49
> > To: vala-list
> > Subject: [Vala] Handling multiline strings
> >
> > Hi. I'm trying to write a multiline string into a file,
> >
> > e.g.
s
>
> -Original Message-
> From: Satyajit Sahoo
> Sender: "vala-list"
> Date: Mon, 10 Jun 2013 18:22:49
> To: vala-list
> Subject: [Vala] Handling multiline strings
>
> Hi. I'm trying to write a multiline string into a file,
>
> e.g.
>
>
ajit Sahoo
Sender: "vala-list"
Date: Mon, 10 Jun 2013 18:22:49
To: vala-list
Subject: [Vala] Handling multiline strings
Hi. I'm trying to write a multiline string into a file,
e.g.
string new = """Line 1 and %s
Line 2 and %s
Line 3
Line 4""".printf (va
Hi. I'm trying to write a multiline string into a file,
e.g.
string new = """Line 1 and %s
Line 2 and %s
Line 3
Line 4""".printf (var1, var2);
The problem is, when I write it to the file, the lines from the 2nd line,
have tab characters preceding them. I want to keep the idention level of
the