StringParserFindIndex Method

Finds the index of the first matching (or containing) field name

Definition

Namespace: Gemstone.IO.Parsing
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.186 -- Release Build+f3c68cd1a13b4f341e0d0fc1ddec1eb68d3eeb61
public static int FindIndex(
	string fieldNameValueSought,
	string[]? fieldNames,
	bool matchCase = true,
	bool contains = false
)

Parameters

fieldNameValueSought  String
the field name to find
fieldNames  String
the string array of fields
matchCase  Boolean  (Optional)
set to FALSE for case insensitive tests
contains  Boolean  (Optional)
Set to TRUE to find index that CONTAINS the fileNameValueSought

Return Value

Int32

[Missing <returns> documentation for "M:Gemstone.IO.Parsing.StringParser.FindIndex(System.String,System.String[],System.Boolean,System.Boolean)"]

See Also