---
schema_version: "1"
id: 6119d54e34ba4f32d908aea430a3e21884e2a000908724d04caaafe34a1a64b6
title: Write
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_utilitiesWrite.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_utilitiesWrite.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e74cc8b4081dc518311acc712a9d9256e125cf17b2290201df49fa7b4cae5f9f
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Write

Outputs the specified string value.

## Syntax

`Write(1)`

## Properties

| Ordinal | Type   | Description                           |
| ------- | ------ | ------------------------------------- |
| `1`     | String | Required. The string value to output. |

## Usage

To use this function, pass the string that you want to output as a parameter.

```
Write("This is the string to display");
```

You can also combine this function with the `ContentAreaByName()` function to display content in your sites and messages.

```
Write(ContentAreaByName("myContentArea"));
```

## See Also

- [ContentAreaByName()](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_utilitiesContentAreaByName.md)
