Click or drag to resize

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
)

Parameters

input
Type: SystemString
The version string to parse

Return Value

Type: SemanticVersion
The first version found in the string, or the default if no version could be detected.
See Also