---
title: "text(_:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/url/template/value/text(_:)"
---

# text(_:)

A text value to be used with a URL.Template.

## Declaration

```swift
static func text(_ text: String) -> URL.Template.Value
```
