string.removeChars()
Removes characters from a string.
string.removeChars( start=number, count=number )
Returns: String
Argument | Description |
---|---|
start
number,
required
|
Start position of search from the left. |
count
number,
required
|
Count of characters to be removed. |
Examples
str="I love Lucee";
writeDump(str.removeChars(1,7));