Description
Returns a browser name for a given user agent string.
Syntax
ExtractUABrowserName(user_agent_string)
Examples
ExtractUABrowserName('chrome/25')
returns 'Chrome'
Notes
The following table lists the BrowserName returned for each User Agent value.
User Agent |
BrowserName |
opera |
Opera |
msie/trident |
Internet Explorer |
seamonkey |
Seamonkey |
firefox |
Firefox |
chromium |
Chromium |
chrome |
Chrome |
safari |
Safari |
Return value datatype
String
Impact of null value
If input is null, returns 'unknown'.