removeChars

Removes characters from a string.

removeChars(String, start, count) → returns string

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

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub