Core Function CSetDel
From Sputnik Wiki
CSetDel( <expression>, <charset>, <case> )
Contents |
Description
Delete all characters found in the charset from a string .
Parameters
expression
The string to use.
charset
A string of chars to compare and delete from the string.
case
Optional; If this param exists the match will be case insensitive regardless of what you place in this param.
Default is case sensitive.
Return Value
Success: Returns true.
Failure: Returns false.
Remarks
None.
Example
my $str = "The one"; my $newStr = CSetDel($str, "hn"); println("Before: $str"); // Prints After: The one println("After: $newStr"); // Prints After: Te oe