Click or drag to resize

OhioFieldsFindByString Method

Searches the collection for the target string and returns the OhioField object containing that string. The string must be totally contained within the field to be considered a match. If the target string is not found, a null will be returned.

Namespace: Flex.Hal.Ohio
Assembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax
public OhioField FindByString(
	string target,
	int startpos,
	int len,
	OhioDirection dir = OhioDirection.FORWARD,
	bool ignorecase = false
)

Parameters

target  String
The target string to search for.
startpos  Int32
The offset location where the search starts. For row 1 column 1, the offset is 0.
len  Int32
The length from startpos to include in the search.
dir  OhioDirection  (Optional)
The direction of the search.
ignorecase  Boolean  (Optional)
Indicates if the search is case sensitive. True means that case will be ignored.

Return Value

OhioField
Returns the field containing the target string. Null if the target string is not found.
See Also