<div>Any suggestions on my question below?</div>
<div> </div>
<div>Thanks<br><br> </div>
<div><span class="gmail_quote">On 1/26/10, <b class="gmail_sendername">J A</b> <<a href="mailto:jamalphd@gmail.com">jamalphd@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi All:</div>
<div> </div>
<div>I am still learning the swift script.</div>
<div> </div>
<div>I have a text file (list.txt) contains the following:</div>
<div> </div>
<div> </div>
<div>3</div>
<div>String1</div>
<div>String2</div>
<div>String3</div>
<div> </div>
<div> </div>
<div>Where the first line contains the number of sentence with text.</div>
<div> </div>
<div>I would like to read the file list.txt and output the strings into separate files where  file1.txt contains "String1", file2.txt contains "String2", and so on.</div>
<div> </div>
<div>Any suggestions on what to use or a sample code will be appreciated.</div>
<div> </div>
<div>Thanks,</div>
<div>Jamal</div>
<div> </div>
<div> </div></blockquote></div><br>