RemoveChars

Removes characters from a string.

RemoveChars( string, start, count )

Returns: String

Argument Description
string
string, required

String in which to search.

start
number, required
count
number, required

Examples

writeDump(removeChars("Hi buddy!, Have a nice day.",10,18));//Expected output: Hi buddy!
//Member function 
str="I love Lucee";
writeDump(str.removeChars(1,7));//Expected output: Lucee

See also