# Underscored

Returns a lowercase and trimmed string separated by underscores.
Underscores are inserted before uppercase characters (with the exception
of the first character of the string), and in place of spaces as well as dashes.


```yaml
string: Please and thank you
```

::tabs

::tab antlers
```antlers
{{ string | underscored }}
```
::tab blade
```blade
{{ Statamic::modify($string)->underscored() }}
```
::

```html
please_and_thank_you
```
