Skip to content
Advertisement

Tag: spss

Calculation based on variable containing multiple possible substrings

I have 2 variables (source and platform) that has results such as: “Source”: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 Edg/100.0.1185.44 etc. “Platform”: Win32 etc. I want to create 2 new variables (device and system), “extracted” from the above ones. I found some code, but I don’t know how to implement it in spss syntax

Advertisement