= %explode(<&ref>, <delim>)

Split an string into multiple new strings based on a delimiter.

This expansion is the inverse of xref:xlat/concat.adoc[concat].

.Return: _the list of strings_.

.Example

[source,unlang]
----
&control.Tmp-String-0 := "bob.toba@domain.com"

&control.Tmp-String-1 := "%explode(&control.Tmp-String-0, '@')"

&reply.Reply-Message := "Welcome %{control.Tmp-String-1[0]}"
----

.Output

```
Welcome bob.toba
```

// Copyright (C) 2023 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
// This documentation was developed by Network RADIUS SAS.
