Project

General

Profile

$right » History » Version 2

Per Amundsen, 02/23/2023 05:15 PM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*$right(text,N)*
4
5
Returns the N right characters of text.
6
7 2 Per Amundsen
_See also [[$left]], [[$mid]]._
8
9 1 Per Amundsen
*Parameters*
10
11
text - The text to return from.
12
N - Number of characters from the right.
13
14
*Example*
15
16
<pre>
17
; Return last 5 characters from 'Hello World'.
18
//echo -ag $right(Hello World,5)
19
</pre>