Method | Description | |
---|---|---|
Contains ( this s, string expectedSubstring, System.StringComparison comparison ) : bool | ||
ContainsAny ( this s, IEnumerable |
||
DebugRepresentation ( [ s ) : string | ||
RemoveSurroundingQuotes ( this s ) : string | ||
StartsWith ( [ s, char c ) : bool | ||
ToInt32 ( this s ) : |
||
ToUriSafe ( this url ) : |
||
Wrap ( this text, int maxLength = 72 ) : string |
Wrap a string to the specified length.
|
Method | Description | |
---|---|---|
EnsureEndsWith ( [ s, char c ) : string | ||
EnsureStartsWith ( [ s, char c ) : string | ||
LeftBeforeLast ( [ s, string search ) : string | ||
NormalizePath ( [ path ) : string | ||
ParseFileName ( [ path ) : string | ||
ParseParentDirectory ( [ path ) : string | ||
RightAfter ( [ s, string search ) : string | ||
RightAfterLast ( this s, string search ) : string | ||
ToNullIfEmpty ( [ s ) : string | ||
TrimEnd ( [ s, string suffix ) : string |
public static Contains ( this s, string expectedSubstring, System.StringComparison comparison ) : bool | ||
s | this | |
expectedSubstring | string | |
comparison | System.StringComparison | |
return | bool |
public static ContainsAny ( this s, IEnumerable |
||
s | this | |
characters | IEnumerable |
|
return | bool |
public static DebugRepresentation ( [ s ) : string | ||
s | [ | |
return | string |
public static RemoveSurroundingQuotes ( this s ) : string | ||
s | this | |
return | string |
public static StartsWith ( [ s, char c ) : bool | ||
s | [ | |
c | char | |
return | bool |
public static ToUriSafe ( this url ) : |
||
url | this | |
return |
public static Wrap ( this text, int maxLength = 72 ) : string | ||
text | this | The text string to wrap |
maxLength | int | The character length to wrap at |
return | string |