메소드 |
설명 |
|
Base64ToImage ( this base64String ) : Image |
|
|
ComputeMD5Hash ( this value ) : string |
|
|
ComputeMD5Hash ( this value, Encoding encoding ) : string |
|
|
DecodeFromBase64 ( this value ) : string |
|
|
EncodeToBase64 ( this value ) : string |
|
|
EqualWithoutSpaces ( this a, string b, System.StringComparison comparison = StringComparison.CurrentCulture ) : bool |
|
|
GetAbbreviation ( string text ) : string |
|
|
GetGroupMatch ( this value, string pattern ) : string |
|
|
GetGroupMatch ( this value, string pattern, int groupId ) : string |
|
|
GetLastWord ( string name ) : string |
|
|
GetWords ( string text, char delimiter = ' ' ) : string[] |
|
|
IsBlank ( this value ) : bool |
Verifies whether the specified string is null or white space only. This method is null-safe. Here is how it works: Assert.IsTrue(StringUtils.IsBlank(null)); Assert.IsTrue(StringUtils.IsBlank("")); Assert.IsTrue(StringUtils.IsBlank(" ")); Assert.IsFalse(StringUtils.IsBlank(" hello ")); |
|
IsEmail ( this value ) : bool |
Verify whether string is a valid email address. |
|
IsManyWords ( string text, char delimiter = ' ' ) : bool |
|
|
IsNotBlank ( this value ) : bool |
Inverse of IsBlank. |
|
Simplify ( this value ) : string |
Remove any whitespace, punctuation and graphics from the specified string, convert result to lower case. Here is how it works: Assert.IsNull(StringUtils.Simplify(null)); Assert.IsNull(StringUtils.Simplify("")); Assert.IsNull(StringUtils.Simplify(" ")); Assert.AreEqual("helloworld", StringUtils.Simplify(" Hello, World! ")); Assert.AreEqual("iam99yearsold", StringUtils.Simplify(" I am 99 years old! ")); |
|
ToIntList ( this ids ) : List |
|
|
ToStringArray ( this tags ) : string |
|
|
ToStringList ( this ids ) : List |
|
|
Truncate ( this originString, int maxLength ) : string |
|
|