Table of Contents

Method StartsWith

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

StartsWith<T>(string, IEnumerable<T>)

Gets whether string s starts with one of the strings specified in items collection.

public static bool StartsWith<T>(string s, IEnumerable<T> items)

Parameters

s string

String to test.

items IEnumerable<T>

Collection.

Returns

bool

Type Parameters

T

Type of the item in the collection.