C# Class Nimrod.StringExtensions

Afficher le fichier Open project: resgroup/nimrod

Méthodes publiques

Méthode Description
HasNonEmbededWhiteSpace ( this text ) : bool

Return true if the string has whitespaces somewhere at the first embeded level

Join ( this values, string separator ) : string

Call string.Join with argument separator

JoinNewLine ( this values ) : string

Call string.Join with argument Environment.NewLine

RemoveBetween ( this rawString, char enter, char exit ) : string

http://stackoverflow.com/a/39096603/128662

Repeat ( this pattern, int count ) : string

Method Details

HasNonEmbededWhiteSpace() public static méthode

Return true if the string has whitespaces somewhere at the first embeded level
public static HasNonEmbededWhiteSpace ( this text ) : bool
text this
Résultat bool

Join() public static méthode

Call string.Join with argument separator
public static Join ( this values, string separator ) : string
values this
separator string
Résultat string

JoinNewLine() public static méthode

Call string.Join with argument Environment.NewLine
public static JoinNewLine ( this values ) : string
values this
Résultat string

RemoveBetween() public static méthode

http://stackoverflow.com/a/39096603/128662
public static RemoveBetween ( this rawString, char enter, char exit ) : string
rawString this
enter char
exit char
Résultat string

Repeat() public static méthode

public static Repeat ( this pattern, int count ) : string
pattern this
count int
Résultat string