A newline is \n. So hai \nhru.
On Fri, 5 Sep 2008, Kurapati, Ravichandra (Ravichandra) wrote:
Hi
Str1-hai
Str2-hru
I want to write these 2 strings in a file separated by
newline.
How can I get this.
Thanks
K.Ravichandra
Try this:
cat(Str1, Str2, file = out.txt, sep = \n)
On Fri, Sep 5, 2008 at 2:21 AM, Kurapati, Ravichandra (Ravichandra)
[EMAIL PROTECTED] wrote:
Hi
Str1-hai
Str2-hru
I want to write these 2 strings in a file separated by
newline.
Hi
Str1-hai
Str2-hru
I want to write these 2 strings in a file separated by
newline.
How can I get this.
Thanks
K.Ravichandra
[[alternative HTML version deleted]]
3 matches
Mail list logo