问题 This is my user agent Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 I know I am using chrome, so I understand it is from chrome version 26 . But what is the rest of the information? How can I read the string. And what all I can collect from userAgent? What is the best way to parse the userAgent and read each property in it? 回答1: User Agent string provide information on application type, operating system, software vendor / version