Table of Contents

Method HasSuffix

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

HasSuffix(string, string)

Checks whether string has the specified suffix (position of the suffix occurrence is at the end of the string).

public static bool HasSuffix(this string s, string suffix)

Parameters

s string

String to check.

suffix string

Suffix text to use for check.

Returns

bool