Project

General

Profile

Actions

Added in 1.8.10

$right(text,N)

Returns the N right characters of text.

See also $left, $mid.

Parameters

Parameter Description
text The text to return from.
N Number of characters from the right.

Example

; Return last 5 characters from 'Hello World'.
//echo -ag $right(Hello World,5)

Updated by Per Amundsen over 1 year ago · 3 revisions

Also available in: PDF HTML TXT