version::get-major

string version::get-major (
     string version
)

Description

Get the major part of a version string.

Parameters

Table 13. Parameters

Name Type Description
version string A correctly formatted version string (major.minor.build.revision).

Return Values

Major part of version string (the first number).