|
I'm trying to create a new variable based on the contents of a string. I have e-mail addresses for a set of survey respondents, and I want to create a variable that will categorize the respondents as either "internal" or "external". Internal respondents would be those whose e-mail addresses contain my company name, for example "jsmith@abc.com" would be internal while any e-mail addresses that do not contain "abc.com" would be external. Any ideas? Thanks!
|