StringExtensions.Match(this string input, string pattern) Method
.NET Standard 2.x
Determines whether a string's value contains a particular pattern of characters.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static bool? Match(this string input, string pattern);
Parameters
input
System.String
The string in which you want to look for a pattern of characters.
pattern
System.String
A string whose value is the text pattern.
Returns
System.Boolean
Returns true
if string matches textpattern and false
if it does not. Match
also returns false
if either argument has not been assigned a value or the pattern is invalid. If any argument's value is null
, Match
returnsnull
.
Examples
Coming soon.
Applies to
.NET Standard
2.x