# Get a name from split

**URL:** <https://community.make.com/t/get-a-name-from-split/34483>\
**Category:** Questions\
**Tags:** make-api, functions\
**Created:** [April 20, 2024, 1:42pm UTC](https://community.make.com/t/get-a-name-from-split/34483 "2024-04-20T13:42:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavier\_Julien\_Action](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/xavier_julien_action/32/32636_2.png) [@Xavier\_Julien\_Action](https://community.make.com/u/Xavier_Julien_Action)\
**Post date:** [April 20, 2024, 1:42pm UTC](https://community.make.com/t/get-a-name-from-split/34483/1 "2024-04-20T13:42:44Z")

</div>

I used to have this function working :

{{get(split(1.data.full\_name; space); 2)}}

I use it to get name and first name.

It doesn’t return anything.  
Any idea why ?

Thanks for your help  
Xavier

![Capture d’écran_20-4-2024_154156_eu1.make.com](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/7/17d3b89af8bec4ec1fc4d44ebc5287f8c76af3ee.jpeg)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [April 20, 2024, 1:46pm UTC](https://community.make.com/t/get-a-name-from-split/34483/2 "2024-04-20T13:46:37Z")

</div>

Welcome to the Make community!

What does your full name variable contain?

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.

 ![Screenshot_2023-10-06_141025](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2876156ab3ea5bc9e40bbc0edfb9f025406b7c48.png)

### A.

Save the bundle contents in your text editor as a `bundle.txt` file, and upload it here into this discussion thread.

Uploading it here will look like this:

> bundle.txt (12.3 KB)

### B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

- Either add three backticks ````` before and after the code, like this:

- Or use the format code button in the editor:  
 ![Screenshot_2023-10-02_191027](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/4/b485b6572c7a1c438f9b191c54e63d351008304c.png)

Providing the output bundles will allow others to _replicate_ what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

---

<div class="post-metadata">

**Author:** ![Xavier\_Julien\_Action](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/xavier_julien_action/32/32636_2.png) [@Xavier\_Julien\_Action](https://community.make.com/u/Xavier_Julien_Action)\
**Post date:** [April 20, 2024, 1:56pm UTC](https://community.make.com/t/get-a-name-from-split/34483/3 "2024-04-20T13:56:00Z")

</div>

![Capture d’écran_20-4-2024_15559_eu1.make.com](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/1/c10a2941ea6863e57871aacbdb9fb097dd35c1dd.jpeg)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [April 20, 2024, 2:40pm UTC](https://community.make.com/t/get-a-name-from-split/34483/4 "2024-04-20T14:40:40Z")

</div>

![Screenshot_2024-04-20_220409](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/9/e9092e7ce2d4a72c8d4eff368b0f054ade6e1be7.png)

![Screenshot_2024-04-20_220416](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/3/93d9cfb61d8a5b9b24c1cc626b00a283f25c0ba5.png)

> [@Xavier\_Julien\_Action](#):
>
> It doesn’t return anything.  
> Any idea why ?

Try remapping your variables.

You can manually type the variable like this:

`{{1.data.nom_complet}}`

---

<div class="post-metadata">

**Author:** ![Xavier\_Julien\_Action](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/xavier_julien_action/32/32636_2.png) [@Xavier\_Julien\_Action](https://community.make.com/u/Xavier_Julien_Action)\
**Post date:** [April 20, 2024, 2:53pm UTC](https://community.make.com/t/get-a-name-from-split/34483/5 "2024-04-20T14:53:20Z")

</div>

Yes it looks like remaping solved the issue.  
I’m going to try your solution.

I was wondering, what happen if someone has 3 names ?  
Ex Paul Doe Andys  
How can we have Doe Andys for last name ?  
Thanks for your help  
Xavier

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [April 20, 2024, 2:56pm UTC](https://community.make.com/t/get-a-name-from-split/34483/6 "2024-04-20T14:56:53Z")

</div>

split by space, slice array using `1` as second parameter, then join with space

For more information, see [https://www.make.com/en/help/functions/array-functions#slice--array--start---end--](https://www.make.com/en/help/functions/array-functions#slice--array--start---end--)

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [May 11, 2024, 4:49pm UTC](https://community.make.com/t/get-a-name-from-split/34483/7 "2024-05-11T16:49:03Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


