# Select params.title 2 words separately

**URL:** <https://discourse.gohugo.io/t/select-params-title-2-words-separately/37223>\
**Category:** support\
**Created:** [February 17, 2022, 11:23pm UTC](https://discourse.gohugo.io/t/select-params-title-2-words-separately/37223 "2022-02-17T23:23:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pitifi9191](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@pitifi9191](https://discourse.gohugo.io/u/pitifi9191)\
**Post date:** [February 18, 2022, 10:53am UTC](https://discourse.gohugo.io/t/select-params-title-2-words-separately/37223/5 "2022-02-18T10:53:53Z")

</div>

@jmooring thanks, this is Mind blowing 🤯

space between " " define if to grab a single letter or a word “it should go in docs for beginners”.

```auto
{{ $titleFirst := split .Title "" | first 1 }} 
# this result in C
{{ $titleFirst := split .Title " " | first 1 }} 
# this result in Company

```

The words are automatically place in [] for some reason, what addition can remove the brackets?

thanks

---

_[View the full topic](https://discourse.gohugo.io/t/select-params-title-2-words-separately/37223)._
