# Transform Split

**URL:** <https://developer.sailpoint.com/discuss/t/transform-split/139547>\
**Category:** SHF Discussion and Questions\
**Tags:** transforms, sailpoint-identity-security\
**Created:** [May 29, 2025, 10:59pm UTC](https://developer.sailpoint.com/discuss/t/transform-split/139547 "2025-05-29T22:59:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![guilherme\_sec](https://avatars.discourse-cdn.com/v4/letter/g/3ec8ea/32.png) [@guilherme\_sec](https://developer.sailpoint.com/discuss/u/guilherme_sec)\
**Post date:** [May 29, 2025, 10:59pm UTC](https://developer.sailpoint.com/discuss/t/transform-split/139547/1 "2025-05-29T22:59:25Z")

</div>

Hello everyone,  
I have a field with the following information:  
User test example  
I only need the first name.  
How can I filter only the name “User”?

Would it be a split type transform?  
Does anyone have an example to show me?

---

<div class="post-metadata">

**Author:** ![kalyan\_dev32](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kalyan_dev32/32/21870_2.png) [@kalyan\_dev32](https://developer.sailpoint.com/discuss/u/kalyan_dev32)\
**Post date:** [May 29, 2025, 11:16pm UTC](https://developer.sailpoint.com/discuss/t/transform-split/139547/2 "2025-05-29T23:16:44Z")

</div>

> [@guilherme\_sec](#):
>
> User test example

```auto
{
  "attributes": {
    "input": "User test example",
    "delimiter": " ",
    "index": 0,
    "throws": true // fail if input is null/empty
  },
  "type": "split",
  "name": "First Name Split"
}

```

---

<div class="post-metadata">

**Author:** ![ManvithaNalabolu06](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/manvithanalabolu06/32/26315_2.png) [@ManvithaNalabolu06](https://developer.sailpoint.com/discuss/u/ManvithaNalabolu06)\
**Post date:** [June 2, 2025, 5:27am UTC](https://developer.sailpoint.com/discuss/t/transform-split/139547/3 "2025-06-02T05:27:13Z")

</div>

> [@guilherme\_sec](#):
>
> Hello everyone,  
> I have a field with the following information:  
> User test example  
> I only need the first name.  
> How can I filter only the name “User”?
> 
> Would it be a split type transform?  
> Does anyone have an example to show me?

```auto
{
  "type": "split",
  "name": "Get First Name",
  "attributes": {
    "input": {
      "type": "identityAttribute",
      "attributes": {
        "name": "yourFieldName"
      }
    },
    "delimiter": " ",
    "index": "0"
  }
}

```

---

<div class="post-metadata">

**Author:** ![ManvithaNalabolu06](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/manvithanalabolu06/32/26315_2.png) [@ManvithaNalabolu06](https://developer.sailpoint.com/discuss/u/ManvithaNalabolu06)\
**Post date:** [June 2, 2025, 5:29am UTC](https://developer.sailpoint.com/discuss/t/transform-split/139547/4 "2025-06-02T05:29:07Z")

</div>

- **`delimiter`** : `" "` splits the string by spaces.
- **`index`** : `"0"` gets the first item (i.e., “User”).

Replace `"yourFieldName"` with the actual name of the identity attribute you’re splitting. Let me know if you want to extract it from a different source or in a rule.

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [August 1, 2025, 5:29am UTC](https://developer.sailpoint.com/discuss/t/transform-split/139547/5 "2025-08-01T05:29:39Z")

</div>

Closed on August 1, 2025, 5:29am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
