$right » History » Version 1
Per Amundsen, 08/11/2015 09:47 AM
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 | *Parameters* |
||
8 | |||
9 | text - The text to return from. |
||
10 | N - Number of characters from the right. |
||
11 | |||
12 | *Example* |
||
13 | |||
14 | <pre> |
||
15 | ; Return last 5 characters from 'Hello World'. |
||
16 | //echo -ag $right(Hello World,5) |
||
17 | </pre> |