C# Class ConsoleFizzler.StringExtensions

显示文件 Open project: atifaziz/Fizzler

Public Methods

Method Description
ToTitleCase ( this str, TextInfo info ) : string

Converts the specified string to titlecase.

ToTitleCaseInvariant ( this str ) : string

Converts the specified string to titlecase using the invariant culture.

Method Details

ToTitleCase() public static method

Converts the specified string to titlecase.
public static ToTitleCase ( this str, TextInfo info ) : string
str this
info System.Globalization.TextInfo
return string

ToTitleCaseInvariant() public static method

Converts the specified string to titlecase using the invariant culture.
public static ToTitleCaseInvariant ( this str ) : string
str this
return string