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 imageCopy Code
                                  public static class Strings
Visual Basic (Declaration) Copy imageCopy Code
                                  Public NotInheritable Class Strings

The type exposes the following members.

Public Methods

  Name Description
Public method Static member ByteArrayToString
Convert a byte array into a string
Public method Static member Capitalize
Capitalizes the specified string.
Public method Static member Contains Overloaded.
Public method Static member HexStringToBytes Overloaded.
Public method Static member IsLike
Exposes Visual Basic's LIKE operator
Public method Static member JsDecode
Unescapes all Javascript escaped characters such that it becomes a normal string.
Public method Static member JsEncode
Escapes all characters in the input string such that the output is a valid Javascript string.
Public method Static member NormalizeWhitespace
Removes leading, ending and repeated whitespace from given string.
Public method Static member ReadFromFile
Reads from file.
Public method Static member RemoveCharacter
Removes all occurences of the specified character from the string.
Public method Static member RemoveCharacters
Removes all occurences of the specified characters from the string.
Public method Static member RemoveTags Overloaded.
Public method Static member RemoveWhitespace
Removes all whitespace from a string.
Public method Static member Repeat
Create a string by duplicating base string
Public method Static member Replace Overloaded.
Public method Static member StringToByteArray
Convert a string to a byte array.
Public method Static member ToBase64
Convert the given object to a base64 string.
Public method Static member ToHex Overloaded.
Public method Static member ToMD5
Return an MD5 hash from a string
Public method Static member TrimLeftRight Overloaded.
Public method Static member WriteToFile
Write string to file

Public Fields

  Name Description
Public field Static member Cr
Carriage return.
Public field Static member CrLf
Carriage return + linefeed.
Public field Static member Lf
Linefeed.

See Also

Advanced