StringBuffer.clear Method

Module: StringBuffer

Definition

Empties the string buffer, effectively resetting its content to an empty string

This operation is useful for reusing the buffer without the overhead of creating a new instance.

void clear()

Exceptions

An error has occurred during Devices Library execution.