Template:Last/doc

Alternate name:

Not to be confused with which gets characters right of an offset value

Usage


Gives a substring of length characters from the right-side end of the string, or, if provided, returns when string is empty.

Examples

 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;

TemplateData
{       "description": "Gives the right most characters of a string.", "params": { "1": {                       "label": "String", "description": "The string to be trimmed", "type": "string", "required": true },               "2": {                        "label": "Count", "description": "The number of characters from the right to return", "type": "number", "required": true },               "3": {                        "label": "result if empty", "description": "The result if the string is empty", "type": "string", "required": false }       } }