Insert

"-->
 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>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net