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.OhioAssembly: 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
)
Public Function FindByString (
target As String,
startpos As Integer,
len As Integer,
Optional dir As OhioDirection = OhioDirection.FORWARD,
Optional ignorecase As Boolean = false
) As OhioField
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
OhioFieldReturns the field containing the target string. Null if the target string is not found.
See Also