StringG.erase

Removes @len bytes from a #GString, starting at position @pos. The rest of the #GString is shifted down to fill the gap.

class StringG
erase
(
ptrdiff_t pos
,
ptrdiff_t len
)

Parameters

pos ptrdiff_t

the position of the content to remove

len ptrdiff_t

the number of bytes to remove, or -1 to remove all following bytes

Return Value

Type: StringG

@string

Meta