Inside Coldfusion MX

"-->

Insert (substring, string, position)

Description

Inserts a substring into a string after a specified character position. If position is 0, it prefixes the substring to the string.

Example

<cfset examplestring = "Rock and Roll is the best."> <cfoutput> #Insert("almost", examplestring, 17)# </cfoutput>

Категории