---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/integrate-applications

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# StringBuilder connector methods

# StringBuilder connector methods {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The StringBuilder connector methods enable you to create, append, update, replace, or remove strings in your automation workflow in RPA Desktop Design Studio.

## Append {#connector-stringbuilder-methods__section_znm_4km_prb}

Adds string to an existing string. You can create multiple strings by using multiple copies of the method. To view the output, use the ToString method.  
Note:  
The method doesn't insert a line between the strings.
{#connector-stringbuilder-methods__table_jnw_jn1_krb__entry__4}

| Parameter name | Description | Data Port type | Data type |
|-|-|-|-|
| Value | The string to be appended to the existing content. Example :   Existing string: "Hello"Value: " World!" Output: Hello World! | Data In | String |
[Table 1. Append method parameters]

{#connector-stringbuilder-methods__table_jnw_jn1_krb}

## AppendLine {#connector-stringbuilder-methods__section_ljd_knm_prb}

Adds a string followed by a newline character (\\n) automatically. When you add multiple strings using multiple copies of the method, it inserts a line between the strings. It functions exactly like the
Enter key on a Microsoft Word document. To view the output, use the ToString method.
{#connector-stringbuilder-methods__table_k3r_mks_32c__entry__4}

| Parameter name | Description | Data Port type | Data type |
|-|-|-|-|
| Value | String to append followed by a line break. Example :   Existing string: "Hello"Value: "World!" Output: Hello World! | Data In | String |
[Table 2. AppendLine method parameters]

{#connector-stringbuilder-methods__table_k3r_mks_32c}

## Replace {#connector-stringbuilder-methods__section_ssz_xrh_nsb}

Replaces a string with a string that you specify in both the Append and AppendLine methods.
{#connector-stringbuilder-methods__table_t4x_mks_32c__entry__4}

| Parameter name | Description | Data Port type | Data type |
|-|-|-|-|
| OldValue | Existing string that is replaced with a string specified in the NewValue field. Example :   OldValue: User | Data In | String |
| NewValue | String that replaces the OldValue string. Example :   NewValue: Abel Tutor | Data In | String |
[Table 3. Replace method parameters]

{#connector-stringbuilder-methods__table_t4x_mks_32c}

## Clear {#connector-stringbuilder-methods__section_btq_g4m_prb}

Clears the string content in the methods.

## ToString {#connector-stringbuilder-methods__section_fnn_34m_prb}

Returns the output of the Append and AppendLine methods.
{#connector-stringbuilder-methods__table_ovg_nks_32c__entry__4}

| Parameter name | Description | Data Port type | Data type |
|-|-|-|-|
| Return | Output that is returned after the execution of the Append and AppendLine methods. For examples, see Append and AppendLine parameters. | Data Out | String |
[Table 4. ToString method parameters]

{#connector-stringbuilder-methods__table_ovg_nks_32c}

## Configure inputs for the parameters {#connector-stringbuilder-methods__section_o5w_vsh_nsb}

To enter inputs for parameters, see [Configure port properties](https://www.servicenow.com/docs/o6fErdzBCUqYUWlLG1ZZzQ "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").

