Skip to content

Wonkey types string right

wonkey:wonkey.types.String.Right

Method Right:String( count:Int )#

Gets a substring from the end of the string.

Returns a string consisting of the last count characters of this string.

If count is less than or equal to 0, an empty string is returned.

If count is greater than the length of this string, this string is returned.

Parameters
count count The number of characters to return.