e***@gmail.com
2020-06-11 04:07:18 UTC
Hi there,
My dataset has multiple responses and I just need the first response for analysis. So all text after the | characters can be deleted.
I have 100 variables named OtherIssue_1 to OtherIssue_100 and would be good to have a loop rather than 100 pieces of syntax...but no idea how to do that.
OtherIssue_1
32
36
106|96
88
72|55
I want to look like this:
32
36
106
88
72
Many thanks
Erin
My dataset has multiple responses and I just need the first response for analysis. So all text after the | characters can be deleted.
I have 100 variables named OtherIssue_1 to OtherIssue_100 and would be good to have a loop rather than 100 pieces of syntax...but no idea how to do that.
OtherIssue_1
32
36
106|96
88
72|55
I want to look like this:
32
36
106
88
72
Many thanks
Erin