---
layout: page
title: "Surround With"
node_type: "nodetool.text.SurroundWith"
namespace: "nodetool.text"
---

**Type:** `nodetool.text.SurroundWith`

**Namespace:** `nodetool.text`

## Description

Wraps text with the provided prefix and suffix.
    text, format, surround, decorate

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` |  | `` |
| prefix | `str` |  | `` |
| suffix | `str` |  | `` |
| skip_if_wrapped | `bool` | Do not add duplicates if the text is already wrapped | `true` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.text](../) namespace.
