MACROMEDIA COLDFUSION MX 61-CFML Reference page 586

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

subjects posted in messages.</h3>
<cfset ChangedElement = ListGetAt(temp, 2)>
<cfset TempToo = ListSetAt(temp, 2, "I changed this subject", ",")>
<ul>
<cfloop From = "1" To = "#ListLen(temptoo)#" INDEX = "Counter">
<cfoutput><li>(#Counter#) SUBJECT: #ListGetAt(temptoo, Counter)#
</cfoutput>
</cfloop>
</ul>
<p>Note that element 2, "<cfoutput>#changedElement#</cfoutput>",
has been altered to "I changed this subject" using ListSetAt.
586
Chapter 3: ColdFusion Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents