C# Class Kudu.Core.StringExtensions

Mostra file Open project: projectkudu/kudu

Public Methods

Method Description
EscapeHashCharacter ( this str ) : string
FormatCurrentCulture ( this format ) : string
FormatInvariant ( this format ) : string
ToSafeFileName ( this str ) : string
Truncate ( this str, int maxLength ) : string

Method Details

EscapeHashCharacter() public static method

public static EscapeHashCharacter ( this str ) : string
str this
return string

FormatCurrentCulture() public static method

public static FormatCurrentCulture ( this format ) : string
format this
return string

FormatInvariant() public static method

public static FormatInvariant ( this format ) : string
format this
return string

ToSafeFileName() public static method

public static ToSafeFileName ( this str ) : string
str this
return string

Truncate() public static method

public static Truncate ( this str, int maxLength ) : string
str this
maxLength int
return string