Project

General

Profile

Actions

$right » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
Per Amundsen, 02/23/2023 05:15 PM


Added in 1.8.10

$right(text,N)

Returns the N right characters of text.

See also $left, $mid.

Parameters

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 · 2 revisions

Also available in: PDF HTML TXT