C# Class NCore.StringExtensions

Mostrar archivo Open project: danielwertheim/NCore

Public Methods

Method Description
AppendWith ( this value, string appendWith ) : string
EndsWithAny ( this value ) : bool
Inject ( this format ) : string
PrependWith ( this value, string prependWith ) : string
ToJoinedString ( this strings, string separator, string itemFormat ) : string
ToKeyValues ( this keyValueString, char pairDelim, char keyValueDelim ) : string>.IDictionary
ToStringOrNull ( this obj ) : string

Method Details

AppendWith() public static method

public static AppendWith ( this value, string appendWith ) : string
value this
appendWith string
return string

EndsWithAny() public static method

public static EndsWithAny ( this value ) : bool
value this
return bool

Inject() public static method

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

PrependWith() public static method

public static PrependWith ( this value, string prependWith ) : string
value this
prependWith string
return string

ToJoinedString() public static method

public static ToJoinedString ( this strings, string separator, string itemFormat ) : string
strings this
separator string
itemFormat string
return string

ToKeyValues() public static method

public static ToKeyValues ( this keyValueString, char pairDelim, char keyValueDelim ) : string>.IDictionary
keyValueString this
pairDelim char
keyValueDelim char
return string>.IDictionary

ToStringOrNull() public static method

public static ToStringOrNull ( this obj ) : string
obj this
return string