Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 589 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 589 Bytes

NetEvolve.Extensions.Strings

This library provides a set of extension methods for System.String. It is a part of the Daily DevOps & .NET - NetEvolve project, which aims to provide a set of useful libraries for .NET developers.

Methods

stringVariable.EnsureEndsWith(string, comparison)

Simple helper method to determine if the value ends with the suffix. If not, it will be appended.

stringVariable.EnsureStartsWith(string, comparison)

Simple helper method to determine if the value ends with the prefix. If not, this is prefixed.