Core Function CSetDel

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> CSetDel( <expression>, <charset>, <case> ) </pre> === Description === Delete all characters found in the charset from a string . === Parameters === ==== expression ====...")
 
m (1 revision)

Revision as of 21:41, 11 August 2014

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 1.

Failure: Returns 0.

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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox