---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [scaffold](../index.md) / appendContent

# Function: appendContent()

> **appendContent**(`existingContent`, `newContent`): `string`

Defined in: [packages/b2c-tooling-sdk/src/scaffold/merge.ts:246](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/scaffold/merge.ts#L246)

Append content to the end of existing content

## Parameters

### existingContent

`string`

The existing text content

### newContent

`string`

Content to append

## Returns

`string`

Updated content
