Valadoc | Vala | Tutorial | API-References | Markup

truncate


Description:

public unowned StringBuilder truncate (size_t len = 0)

Cuts off the end of the StringBuilder, leaving the first len bytes.

Parameters:

len the new size of string

Returns:

string