Core Function Right

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> Right( <expression>, <count> ) </pre> === Description === Returns a number of characters from the right-hand side of a string. === Parameters === ==== expression ==== ...")

Latest revision as of 14:05, 2 December 2011

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