# Character length in array constructor

**URL:** <https://fortran-lang.discourse.group/t/character-length-in-array-constructor/9731>\
**Category:** Help\
**Created:** [May 14, 2025, 10:57pm UTC](https://fortran-lang.discourse.group/t/character-length-in-array-constructor/9731 "2025-05-14T22:57:52Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Beliavsky](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@Beliavsky](https://fortran-lang.discourse.group/u/Beliavsky)\
**Post date:** [May 15, 2025, 12:41pm UTC](https://fortran-lang.discourse.group/t/character-length-in-array-constructor/9731/6 "2025-05-15T12:41:29Z")

</div>

Nice. With the function [here](https://fortran-lang.discourse.group/t/fortran-code-snippets/2150/94) one can write

```fortran
words("one two three")

```

to get an array of 3 character variables, but this relies on their not having embedded spaces.

---

_[View the full topic](https://fortran-lang.discourse.group/t/character-length-in-array-constructor/9731)._
