Core Function Right

From Sputnik Wiki
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