Core Function isControl

From Sputnik Wiki
Jump to: navigation, search
isControl( <expression> )

Contents

Description

Check if string contains only control chars.

Parameters

expression

The string to evaluate.

Return Value

Success: Returns 1 if expression is empty.

Failure: Returns 0 if expression is not empty.

Example

Will return 1;

$result = isControl("\t");
Println("Result:" , $result);

Will return 0;

$result = isControl("A");
Println("Result:" , $result);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox