Title1:|Story1|Link1|_self
Title2:|Story2|Link2|_self
Title3:|Story3||
Title4:|Story4|Link4|_self
Title5:|Story5||
I am stuck on the emtpy link, if its empty I need to move blank value in the
var. Its giving me error at this point. "Invalid list index 3. "
<cfloop from="1" to="#listlen(myfile, chr(10))#" index="i">
<cfset thisline = listgetat(myfile, i, chr(10))>
<cfset lines[i] = structnew()>
<cfset lines[i]["title"] = listfirst(thisline, "|")>
<cfset lines[i]["story"] = listgetat(thisline, 2, "|")>
<cfset lines[i]["link"] = listgetat(thisline, 3, "|")>
<cfset lines[i]["target"] = listlast(thisline, "|")>
</cfloop>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

