Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var @full_name, @first_name
set @full_name = AttributeValue("full_name")
if indexOf(@full_name, " ") > 0 then
set @first_name = substring(@full_name,1,subtract(indexOf(@full_name," "),1))
Hello, %%=v(@first_name)=%%.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.