This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public static class Strings |
Visual Basic (Declaration) | Copy Code |
---|---|
Public NotInheritable Class Strings |
The type exposes the following members.
Public Methods
Name | Description | |
---|---|---|
ByteArrayToString |
Convert a byte array into a string
|
|
Capitalize |
Capitalizes the specified string.
|
|
Contains | Overloaded. | |
HexStringToBytes | Overloaded. | |
IsLike |
Exposes Visual Basic's LIKE operator
|
|
JsDecode |
Unescapes all Javascript escaped characters such that it becomes a normal string.
|
|
JsEncode |
Escapes all characters in the input string such that the output is a valid Javascript string.
|
|
NormalizeWhitespace |
Removes leading, ending and repeated whitespace from given string.
|
|
ReadFromFile |
Reads from file.
|
|
RemoveCharacter |
Removes all occurences of the specified character from the string.
|
|
RemoveCharacters |
Removes all occurences of the specified characters from the string.
|
|
RemoveTags | Overloaded. | |
RemoveWhitespace |
Removes all whitespace from a string.
|
|
Repeat |
Create a string by duplicating base string
|
|
Replace | Overloaded. | |
StringToByteArray |
Convert a string to a byte array.
|
|
ToBase64 |
Convert the given object to a base64 string.
|
|
ToHex | Overloaded. | |
ToMD5 |
Return an MD5 hash from a string
|
|
TrimLeftRight | Overloaded. | |
WriteToFile |
Write string to file
|
Public Fields
See Also
Smartsite.Base Namespace