# to\_name

Source: https://zotonic.com/docs/1960/to_name

URI: https://zotonic.com/id/1960

Language: en



Map a string to a *name*. That is a lowercased string with only `[a-z0-9_]` characters.

Example:

```erlang
{{ "Hello World!"|to_name }}
```

Results in the string value `hello_world`.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1960?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1960?language=en>)
