• Home
  • API Documentation
Show / Hide Table of Contents
  • Mozzarella
    • ByteArrayExtensions
      • AsString
      • ToHexString
    • CoalesceOptions
      • None
      • WhiteSpaceAsEmpty
    • EnumerableOfStringExtensions
      • Coalesce
    • ErasableString
      • Clear
      • Dispose
      • ErasableString
      • IsCleared
      • IsDisposed
      • Value
    • StringBuilderExtensions
      • Append
      • AppendIf
      • AppendJoin
      • Contains
      • IndexOf
      • LastIndexOf
      • ToLower
      • ToUpper
      • Trim
      • TrimEnd
      • TrimStart
    • StringExtensions
      • AddPrefix
      • AddSuffix
      • AfterFirst
      • AfterLast
      • BeforeFirst
      • BeforeLast
      • CICompare
      • CIContains
      • CIEquals
      • CIReplace
      • Coalesce
      • Contains
      • ContainsOnly
      • IndexOfFirstDifference
      • IsAllDigits
      • IsAlphanumeric
      • IsNullOrEmpty
      • IsNullOrWhiteSpace
      • IsOnlyAlphas
      • IsOnlyDigits
      • LevenshteinDistanceTo
      • Like
      • NullIfEmpty
      • OCICompare
      • OCIContains
      • OCIEquals
      • OCIReplace
      • OEquals
      • PascalCaseToWords
      • RemoveAllExcept
      • RemoveAllWhiteSpace
      • RemoveNonAlphanumerics
      • RemoveNonAlphas
      • Replace
      • StripNonDigits
      • StripPrefix
      • StripSuffix
      • Truncate
  • Mozzarella.Tests
    • RemoveNonAlphanumerics
      • RemoveNonAlphanumerics_DoesNotRemoveNumerics
      • RemoveNonAlphanumerics_RemovesNonAlphanumerics
      • RemoveNonAlphanumerics_ReturnsEmptyForEmpty
      • RemoveNonAlphanumerics_ReturnsNullForNull
      • RemoveNonAlphanumerics_ReturnsOriginalStringWhenNoCharactersRemoved
    • RemoveNonAlphas
      • RemoveNonAlphas_RemovesNonNumericNonAlphas
      • RemoveNonAlphas_RemovesNumerics
      • RemoveNonAlphas_ReturnsEmptyForEmpty
      • RemoveNonAlphas_ReturnsNullForNull
      • RemoveNonAlphas_ReturnsOriginalStringWhenNoCharactersRemoved

Method ToLower

ToLower(StringBuilder)

Ensures/converts the entire contents of the builder to lowercase characters.

Declaration
public static StringBuilder ToLower(this StringBuilder builder)
Parameters
Type Name Description
System.Text.StringBuilder builder

The System.Text.StringBuilder containing the data to be converted.

Returns
Type Description
System.Text.StringBuilder

Returns builder.

Exceptions
Type Condition
System.ArgumentNullException

Thrown if builder is null.

ToLower(StringBuilder, CultureInfo)

Ensures/converts the entire contents of the builder to lowercase characters.

Declaration
public static StringBuilder ToLower(this StringBuilder builder, CultureInfo culture)
Parameters
Type Name Description
System.Text.StringBuilder builder

The System.Text.StringBuilder containing the data to be converted.

System.Globalization.CultureInfo culture

A System.Globalization.CultureInfo used to determine the case of individual characters.

Returns
Type Description
System.Text.StringBuilder

Returns builder.

Remarks

The culture parameter is ignored when using the net standard library as net standard does not support the System.Char.ToLower(System.Char,System.Globalization.CultureInfo) overload.

Exceptions
Type Condition
System.ArgumentNullException

Thrown if builder is null.

Back to top Copyright (c) 2017 Troy Willmot