I'm trying to capture a full name in a Text Entry box in Storyline, split it up into its first and last name parts and then use each part as necessary. For Example, I'd like to be able to refer to the user by first name in order to say "Good Work Frank".
//Assign variable to full name typed in box in Storyline
//Split full name into two parts with a space as the seperator
var name=fullname.split(" ");
//Assign variables to each part that I split the full name into
//Set fn variable in Storline (represents first name) to value of firstname