Name

Insert

Synopsis

                  
                  Insert(substring, string, position)

Inserts substring into string after position. Example:

<cfset MyString="This is how the cookie crumbles.">
   
<cfoutput>#Insert("chocolate chip ", MyString, 16)#</cfoutput>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.