Click or drag to resize

RegExMatchGetString Method

Returns the substring of the match from the source string. Capturing groups can be retrieved by providing its group number as an integer or its string name (if it's a named group). The default value of 0 refers to the whole pattern.

Returns an empty string if the group did not match or doesn't exist.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public string GetString(
	Object name = null
)

Parameters

name (Optional)
Type: SystemObject
If the parameter is null, then the default value is (object)0

Return Value

Type: String

[Missing <returns> documentation for "M:Godot.RegExMatch.GetString(System.Object)"]

See Also