tail
function:
Extract a string tail.
If the first argument is a string and the second argument is a positive integer, the returned value will be a string with the end of the first argument.
See also take_last
.
Examples:
- running:
(tail "test-123", 4)
will give:"-123"
- running:
(tail "test-123", 20)
will give:"test-123"
- running:
(tail 20, 20)
will return nothing
- running:
(tail "20", -5)
will return nothing