Table of Contents

StringBuffer-Insert method


Only available versions of this content are shown in the dropdown

Use this method to manipulate local variables of type String Buffer for the current activity that are stored in a Java StringBuffer object. This method inserts a string into the buffer at a specific byte offset position.

Local variables are defined on the Parameters tab of an activity.


This method has the following parameters:

Parameter Description
Buffer Enter the name of a local variable to be stored in the StringBuffer.
Offset Indicate the index (offset) position within the buffer. Enter an integer constant, or an expression that evaluates to an integer value.
StrInsert Enter an expression (such as a literal value, a property reference, a linked property reference, or a function call) the produces a text value to append.


The system inserts the text into the StringBuffer, starting at the indicated byte position, and associates it 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

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

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