StringExtension Methods |
The StringExtension type exposes the following members.
Name | Description | |
---|---|---|
CheckEmpty |
Check that an argument is empty.
| |
CheckHTMLInjection |
This is an attempt to handle problems with HTML and Java script injection.
| |
CheckInjection |
Wrapper method for all injection checks
| |
CheckJsonInjection |
This is an attempt to handle problems with Json injection.
| |
CheckLength |
Check that the string is not longer than specified length.
| |
CheckNotEmpty |
Check that an argument is not empty.
| |
CheckRegularExpression |
Check that the string matches the regular expression.
| |
CheckSqlInjection |
This is an attempt to handle problems with SQL injection.
| |
FirstLetterToUpper |
Returns a string where the first letter is capitalized.
| |
IsDateTime |
Test if a string represents a data time value.
| |
IsEmpty |
Test if a string is empty.
| |
IsNotEmpty |
Test if a string is not empty.
| |
IsValidEmail |
Test if a string is a valid email address.
| |
RemoveDuplicateBlanks |
Removes all duplicated blanks in a string.
| |
ToString(String, String, Boolean) |
Returns the str or the defaultValue if the str is null.
| |
ToString(String, IFormatProvider, String, Boolean) |
Returns the str or the defaultValue if the str is null.
| |
WebParseBoolean |
Parse a Boolean value that has been
received over the internet.
| |
WebParseDateTime |
Parse a DateTime value that has been
received over the internet.
| |
WebParseDouble |
Parse a Double value that has been
received over the internet.
| |
WebParseInt32 |
Parse a Int32 value that has been
received over the internet.
| |
WebParseInt64 |
Parse a Int64 value that has been
received over the internet.
|