Get the last n elements from a String.
Syntax
Parameters
subject
- The String to extract from.separator
- What to use as the boundary between elements in subject
. This defaults to the space character.limit
- The subject
string will be split into a maximum of limit
elements. If limit
is negative, all components except the first number specified by limit
are returned.
Result
subject
.
Returns a String produced by extracting limit
elements from subject
on boundaries formed by separator
.