Table of Contents

Method FindString

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

FindString(string, bool)

Finds the index of the first item whose string representation matches the specified text.

int FindString(string s, bool bCase = false)

Parameters

s string

The string to search for.

bCase bool

If true, perform a case-sensitive search; otherwise case-insensitive.

Returns

int

The zero-based index of the matching item, or -1 if not found.