Hi,
I am having problem joining 4 values which i am getting using a for loop over a period of 4 loops.
Here is what I am trying to do.
Suppose a file have values in this format:
--------------------------
----------
----------
------
Firstname
lastname
nickname
firstname
lastname
nickname
..
--------------------------
----------
----------
-----
Now what i want to do is to read this file using for loop and then join the values of firstname,lastname,nicknam
e to create another file in this format.
--------------------------
----------
----------
-----
firstname,lastname,nicknam
e
firstname,lastname,nicknam
e
--------------------------
----------
----------
----
Please help me out.
Thanks.
Start Free Trial