# `Ash.Query.Function.StringSplit`
[🔗](https://github.com/ash-project/ash/blob/v3.27.8/lib/ash/query/function/string_split.ex#L5)

Split a string into a list of strings

Splits a string on the given delimiter. The delimiter defaults to a single space. Also supports options.

Keep in mind, this function does *not* support regexes the way that `String.split/3` does, only raw strings.

    string_split(employee_code)
    string_split(full_name, "foo")
    string_split(full_name, "foo", trim?: true)

## Options

* `:trim?` (`t:boolean/0`) - Whether or not to trim empty strings from the beginning or end of the result. Equivalent to the `trim` option to `String.split/3` The default value is `false`.

# `args`

# `has_partial_evaluate?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
