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
User-Name := "bob.toba@domain.com"

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

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