Skip to content

Wonkey types string left

wonkey:wonkey.types.String.Left

Method Left:String( count:Int )#

Gets a substring from the start of the string.

Returns a string consisting of the first 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.