Core Function Scanf

From Sputnik Wiki
Revision as of 16:16, 22 January 2013 by UberFoX (Talk | contribs)
Jump to: navigation, search
Scanf( <expression>, <def> )

Contents

Description

Parses input from a string according to a format.

Parameters

expression

The string to evaluate.

def

The formation string containing the definition of how to parse the string.

Return Value

Success: Returns array of all captured objects from the parsed string.

Failure: Returns empty array.

Remarks

None.

Example

my $RET = Scanf("X123 Y456", "X%d Y%d");
printr($RET);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox