Knowledge base

BrowserVersion

Description

Extract browser full version from user agent string, based on ua_parser.

Syntax

BrowserVersion(user_agent_string)

Examples

BrowserVersion('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36') returns '27.0.1453'

Return value datatype

string

Notes

Returns null if browser version can't be extracted from string.

Impact of null value

If input is null, returns null.