Function Reference

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Window Management Functions)
(String Functions)
Line 154: Line 154:
 
* [[Core Function Chr|Chr( <expression> )]] --
 
* [[Core Function Chr|Chr( <expression> )]] --
 
* [[Core Function ChrW|ChrW( <expression> )]] --
 
* [[Core Function ChrW|ChrW( <expression> )]] --
* [[Core Function Contains|Contains( <expression> )]] --
+
* [[Core Function Contains|Contains( <sting>, <string>, <casesense>)]] -- Check is string contains sub string
* [[Core Function Compare|Compare( <expression> )]] --
+
* [[Core Function Compare|Compare( <string>, <string> )]] -- Compare two strings to each other
 
* [[Core Function Dec|Dec( <expression> )]] -- Returns a integer representation of a hexadecimal string
 
* [[Core Function Dec|Dec( <expression> )]] -- Returns a integer representation of a hexadecimal string
 
* [[Core Function FDec|FDec( <expression> )]] -- Returns a float representation of a hexadecimal string
 
* [[Core Function FDec|FDec( <expression> )]] -- Returns a float representation of a hexadecimal string
Line 165: Line 165:
 
* [[Core Function DHex|DHex( <expression> )]] -- Returns a string representation of an double type converted to hexadecimal
 
* [[Core Function DHex|DHex( <expression> )]] -- Returns a string representation of an double type converted to hexadecimal
 
* [[Core Function InStr|InStr( <string>, <substirng>, <casesense>, <occurrence>, <start>, <count> )]] -- Checks if a string contains a given substring.
 
* [[Core Function InStr|InStr( <string>, <substirng>, <casesense>, <occurrence>, <start>, <count> )]] -- Checks if a string contains a given substring.
* [[Core Function isAlpha|isAlpha( <expression> )]] --
+
* [[Core Function isAlpha|isAlpha( <expression> )]] -- Checks if string contains only Alphabetic characters
* [[Core Function isAlphaNumeric|isAlphaNumeric( <expression> )]] --
+
* [[Core Function isAlphaNumeric|isAlphaNumeric( <expression> )]] -- Checks if string contains only AlphaNumeric(A-Z, 0-9), Characters
 
* [[Core Function isASCII|isASCII( <expression> )]] --
 
* [[Core Function isASCII|isASCII( <expression> )]] --
 
* [[Core Function isEmpty|isEmpty( <expression> )]] -- Checks if a string is completely empty.
 
* [[Core Function isEmpty|isEmpty( <expression> )]] -- Checks if a string is completely empty.
 
* [[Core Function isFloat|isFloat( <expression> )]] --
 
* [[Core Function isFloat|isFloat( <expression> )]] --
* [[Core Function isLower|isLower( <expression> )]] --
+
* [[Core Function isLower|isLower( <expression> )]] -- Checks if string contains only lowercase letters
* [[Core Function isNumeric|isNumeric( <expression> )]] --
+
* [[Core Function isNumeric|isNumeric( <expression> )]] -- Checks if string only contains numbers
 
* [[Core Function isSpace|isSpace( <expression> )]] --
 
* [[Core Function isSpace|isSpace( <expression> )]] --
 
* [[Core Function isSymbol|isSymbol( <expression> )]] --
 
* [[Core Function isSymbol|isSymbol( <expression> )]] --
Line 181: Line 181:
 
* [[Core Function Left|Left( <expression> )]] --
 
* [[Core Function Left|Left( <expression> )]] --
 
* [[Core Function Match|Match( <expression> )]] --
 
* [[Core Function Match|Match( <expression> )]] --
* [[Core Function MD5|MD5( <expression> )]] --
+
* [[Core Function MD5|MD5( <expression> )]] -- Creates MD5 Hash of specified string
 
* [[Core Function PadLeft|PadLeft( <expression> )]] --
 
* [[Core Function PadLeft|PadLeft( <expression> )]] --
 
* [[Core Function PadRight|PadRight( <expression> )]] --
 
* [[Core Function PadRight|PadRight( <expression> )]] --
Line 188: Line 188:
 
* [[Core Function Replace|Replace( <expression> )]] --
 
* [[Core Function Replace|Replace( <expression> )]] --
 
* [[Core Function Reverse|Reverse( <expression> )]] --
 
* [[Core Function Reverse|Reverse( <expression> )]] --
* [[Core Function Right|Right( <expression> )]] --
+
* [[Core Function Right|Right( <expression>, <count> )]] -- Returns a number of characters from the right-hand side of a string.
* [[Core Function SHA1|SHA1( <expression> )]] --
+
* [[Core Function SHA1|SHA1( <expression> )]] -- Returns SHA1 hash of string
 
* [[Core Function Split|Split( <expression>, <delim/pattern>, <flag> )]] -- Splits up a string into substrings depending on the given delimiters.
 
* [[Core Function Split|Split( <expression>, <delim/pattern>, <flag> )]] -- Splits up a string into substrings depending on the given delimiters.
 
* [[Core Function SPrintf|SPrintf( <expression>, <expressions>... )]] -- Create a formatted string
 
* [[Core Function SPrintf|SPrintf( <expression>, <expressions>... )]] -- Create a formatted string
* [[Core Function StartsWith|StartsWith( <expression> )]] --
+
* [[Core Function StartsWith|StartsWith( <expression> )]] -- Checks if string starts with specified string
* [[Core Function StrLen|StrLen( <expression> )]] --
+
* [[Core Function StrLen|StrLen( <expression> )]] -- Returns length of specified string
* [[Core Function SubStr|SubStr( <expression> )]] --
+
* [[Core Function SubStr|SubStr( <expression> )]] -- Return part of a string
* [[Core Function Trim|Trim( <expression> )]] --
+
* [[Core Function Trim|Trim( <expression> )]] -- Removes whitespace from the beginning and end of a string
* [[Core Function TrimLeft|TrimLeft( <expression> )]] --
+
* [[Core Function TrimLeft|TrimLeft( <expression> )]] --Strip whitespace from the start of a string
* [[Core Function TrimRight|TrimRight( <expression> )]] --
+
* [[Core Function TrimRight|TrimRight( <expression> )]] -- Strip whitespace from the end of a string
* [[Core Function UC|UC( <expression> )]] --
+
* [[Core Function UC|UC( <expression> )]] -- Returns string in all Upper Case
* [[Core Function UCFirst|UCFirst( <expression> )]] --
+
* [[Core Function UCFirst|UCFirst( <expression> )]] -- Upper Cases first letter of string
* [[Core Function UCWords|UCWords( <expression> )]] --
+
* [[Core Function UCWords|UCWords( <expression> )]] -- Upper Cases first letter of each word in string
  
 
==== Array Functions ====
 
==== Array Functions ====

Revision as of 00:01, 27 November 2011

Contents

Function Reference

How to create a Function

To create your own funtions see the Function page.

Core Functions

Language Features

Console Functions

Multithreading Functions

Variable Type Conversions

Common Variable Functions

Misc
Hash/Array
Type Checking

Binary Data Management Functions

Math Functions

String Functions

Array Functions

Hash (Dictionary) Functions

Process Functions

Environment Management

File Functions

File Create/Read/Write Functions

GUI Functions

Dialog Creation Functions
Dialog Properties Get/Set Functions
Control Creation Functions
Event Linking Functions
Dialog/Control Properties Get/Set Functions
Control Properties Get/Set Functions
Other GUI Functions

Keyboard Control Functions

Mouse Control Functions

Window Management Functions

Misc Functions

User Defined Functions

These functions are created using Sputnik and are not part of the Sputnik core language.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox