| SemanticVersionParse Method |
Parses the specified semantic version.
Any prefix or suffix strings are ignored, e.g. "Version 1.2.3-beta1 with extras" is parsed as "1.2.3-beta1"
Namespace:
TomsToolbox.Essentials
Assembly:
TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax public static SemanticVersion Parse(
string? input
)
Public Shared Function Parse (
input As String
) As SemanticVersion
Parameters
- input
- Type: SystemString
The version string to parse
Return Value
Type:
SemanticVersionThe first version found in the string, or the default if no version could be detected.
See Also