Knowledge base

OsPatch

Description

Extract operating system patch/build number from user agent string, based on ua_parser.

Syntax

OsPatch(user_agent_string)

Examples


OsPatch('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 '8'

Return value datatype

string

Notes

Returns null if OS patch number can't be extracted from string.

Impact of null value

If input is null, returns null.