"Sputnik" help  
Sputnik Help
Language Reference - Operators - Operator (~Identifer) (Cast As Function)

Operator (~identifier)

Cast with function. eg.

$a = "Hello";
say (~strlen)$a;
// PRINTS
// 5

It can also be done with a user defined function like so:

function countLetters($str)
{
    return StrLen($str);
}

$a = "Hello";
say (~countLetters)$a;
// PRINTS
// 5

To see a list of all the operators go here.


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org