Extract a substring of text from the end of a string (the 'right').
string strright <string:Text> <int:nChars>
| Name | Type | Comment |
|---|---|---|
| Text | string | A text string. |
| nChars | int | The number of characters to extract from the Text argument. |
A string containing the desired range of the Text string.
echo <strright "A B C D 1 2 3 4" 5>
… the output of which is written to the event log by echo as:
2 3 4
None.