suffix
suffix(str: String, n: Integer) : String
Returns the last n characters of string str.
Examples:
suffix("abcdef", 3)returns"def"suffix("abcdef", 0)returns""(empty string)
Bounds handling
If n is negative, then it is treated as 0 and an empty string is returned. If n is greater than the string length,
then the entire string is returned.
Examples:
suffix("abcdef", -3)returns""(empty string)suffix("abcdef", 10)returns"abcdef"(entire string)