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
control.Tmp-String-0 := "bob.toba@domain.com"

control.Tmp-String-1 := %str.split(control.Tmp-String-0, '@')

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