truncate


Description:

public unowned StringBuilder truncate (size_t len = 0)

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

Parameters:

this

a StringBuilder

len

the new size of this

Returns:

this