Click or drag to resize

RegExMatchGetStart Method

Returns the starting position of the match within the source string. The starting position of 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 -1 if the group did not match or doesn't exist.

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

Parameters

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

Return Value

Type: Int32

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

See Also