Click or drag to resize

StringExtensionsMatchN Method

Do a simple case insensitive expression match, using ? and * wildcards (see [method expr_match]).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool MatchN(
	this string instance,
	string expr
)

Parameters

instance
Type: SystemString

[Missing <param name="instance"/> documentation for "M:Godot.StringExtensions.MatchN(System.String,System.String)"]

expr
Type: SystemString

[Missing <param name="expr"/> documentation for "M:Godot.StringExtensions.MatchN(System.String,System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.StringExtensions.MatchN(System.String,System.String)"]

Usage 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