@SteveS,
Pipes and embedded data are resolved and set on the server. So, you can't parse, set, then pipe the embedded data you just set on the same page.
So let's say you want to parse the userID from the email, display it, and save it for later. You would have html in your question that looked something like:
```
<span id="userID"><span>
```
Then your JS would be something like:
```
Qualtrics.SurveyEngine.addOnload(function() {
var substrings = "${m://Email1}".split("@",2);
jQuery("#userID).html(substrings[0]);
Qualtrics.SurveyEngine.setEmbeddedData("userID",substrings[0]);
});
```
Thanks Tom. This makes more sense now that I understand the flow.
Thanks again! This worked perfectly There was only 1 small syntax error (missing the " after the userID in the JQuery) I am re-posting here with that included.
```Qualtrics.SurveyEngine.addOnload(function() {
var substrings = "${m://Email1}".split("@",2);
jQuery("#userID").html(substrings[0]);
Qualtrics.SurveyEngine.setEmbeddedData("userID",substrings[0]);
});
```