---
schema_version: "1"
id: 17541080c27e9c58eaa94b2468802c8e17de017018eba3c1fdd748de964a549e
title: v()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/utilities/mc-ampscript-reference-utilities-v.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-v.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 80b104c9b6c7a69879952bf585b2e7565b83dbd1d310e54480cd9b3188dc695d
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# v()

Outputs the value of a variable.

## Availability

<table>
  <tr>
    <td>Marketing Cloud Engagement</td>
    <td>✅ Yes</td>
  </tr>
  <tr>
    <td>Marketing Cloud Next</td>
    <td>✅ Yes</td>
  </tr>
</table>

This function became available in Marketing Cloud Next during the Summer ’26 release (API version 67.0).

## Syntax

```
v(variableName)
```

The `v()` function has one parameter:

- `variableName` (string): Required. The variable to output the value of.

## Usage

This example declares and sets a variable, and then outputs the value of that variable.

```
%%[
  Var @hello
  Set @hello = "Hello, world!"
]%%

<p>%%=v(@hello)=%%</p>
```

The example returns this text.

```
Hello, world!
```
