IsSuffix()

CompareInfo::IsSuffix(const String&, const String&, CompareOptions) const method

Checks if the specified string ends with the specified suffix using the specified compare options.

virtual bool System::Globalization::CompareInfo::IsSuffix(const String &source, const String &suffix, CompareOptions options) const

Arguments

ParameterTypeDescription
sourceconst String&Source string.
suffixconst String&Suffix string.
optionsCompareOptionsCompare options.

Return Value

True if string ends with suffix; otherwise false.

CompareInfo::IsSuffix(const String&, const String&) const method

Checks if the specified string ends with the specified suffix.

virtual bool System::Globalization::CompareInfo::IsSuffix(const String &source, const String &suffix) const

Arguments

ParameterTypeDescription
sourceconst String&Source string.
suffixconst String&Suffix string.

Return Value

True if string ends with suffix; otherwise false.

See Also