Skip to main content

StringBuffer-Reset method

Suggest edit
Updated on March 16, 2022

Use this method to clear a local variable of type String Buffer of an activity, setting its value in the Java StringBuffer to the null string. Local variables are defined on the Parameters tab of the activity form.

Parameters

This method has one required parameter.

ParameterDescription
BufferIdentify the local variable to be reset.

Results

The system updates the Java StringBuffer object to associate the empty string with the named local variable.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Methods and instructions by function

Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us