ConstantsMatches Method |  |
Hartismere School[This is preliminary documentation and is subject to change.]
Both strings are Simplified, and return true if equal
Namespace: EJW.TextBasedAdventureAssembly: EJW.TextBasedAdventure (in EJW.TextBasedAdventure.dll) Version: 2.0.5850.21153
Syntaxpublic static bool Matches(
this string str,
string String
)
<ExtensionAttribute>
Public Shared Function Matches (
str As String,
String As String
) As Boolean
public:
[ExtensionAttribute]
static bool Matches(
String^ str,
String^ String
)
[<ExtensionAttribute>]
static member Matches :
str : string *
String : string -> bool
Parameters
- str
- Type: SystemString
- String
- Type: SystemString
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also