mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-09-01 18:28:59 +00:00
23 lines
701 B
Plaintext
23 lines
701 B
Plaintext
---
|
|
title: Create String
|
|
sidebar:
|
|
label: Create
|
|
order: 3
|
|
---
|
|
import SchemaInfo from '../../../../components/SchemaInfo.astro';
|
|
|
|
The `string.create` processor creates a string based on the provided template. This processor will return an error if there is an issue executing the template. The template property is just a [Go template](https://pkg.go.dev/text/template) that will be evaluated with the incoming message provided as an environment.
|
|
|
|
<SchemaInfo type="processor" id="string.create"/>
|
|
|
|
### Example
|
|
|
|
This would create a string using the `Address` property of the incoming message like and OSC message
|
|
|
|
```yaml
|
|
- id: create
|
|
type: string.create
|
|
params:
|
|
template: "{{.Address}}
|
|
```
|