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.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
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