Core Function Right

From Sputnik Wiki
Revision as of 14:05, 2 December 2011 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Right( <expression>, <count> )

Contents

Description

Returns a number of characters from the right-hand side of a string.

Parameters

expression

The string to evaluate.

count

The number of characters to get.

Return Value

Success: Returns new string.

Failure: Returns empty string.

Remarks

None.

Example

$result = Right("I'm a string", 3);
MsgBox("Rightmost 3 characters are: $result");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox