Name

RemoveChars

Synopsis

                  
                  RemoveChars(string, startpos, count)

Removes count characters from string beginning at the position specified by startpos. If no characters are removed, is returned. Example:

<cfset MyString="cosdafol">
   
<cfoutput>
<b>Original String:</b> #MyString#<br>
<b>RemoveChars(MyString, 3, 4):</b> #RemoveChars(MyString, 3, 4)#
</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.