FreeRADIUS InkBridge

%str.split(<ref>, <delim>)

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

This expansion is the inverse of str.concat.

Example
string name

User-Name := "bob.toba@domain.com"

name := %str.split(User-Name, '@')

reply.Reply-Message := "Welcome %{name}"
Output
Welcome bob.toba