removeChars

Removes characters from a string.

removeChars(String, start, count) → returns string

removeChars Argument Reference

String string
Required

The string or variable containing a string to process.

start numeric
Required

The starting position in the string to process.

count numeric
Required

Number of characters to remove.

Examples sample code invoking the removeChars function

removeChars('Hello CFML World',6,5)

Expected Result: Hello World


Fork me on GitHub