Table of Contents

Method FindStringExact

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

FindStringExact(string, bool)

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

public virtual int FindStringExact(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.