extract an integer major version v1 and minor version v2 from a string
Extracts integer major and minor versions from a string, ensuring the formatting strictly complies with the OOXML AppVersion schema requirements. [0-9]{1,2}.[0-9]{1,4} (Example: 14.123)
- Parameters
-
| versionString | the string to process |
| majorVersion | by reference: store the major version here |
| minorVersion | by reference: store the minor version here |
- Returns
- true if string adheres to format & version numbers could be extracted
-
false in case of failure