You are here: Reference > Activity methods > StringBuffer-Reset

  StringBuffer-Reset method

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.

Parameter

Description

Buffer Identify 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.

Related topics Activity form — Completing the Parameters tab
StringBuffer-Append method
StringBuffer-Insert method

Methods and instructions by function