String Viper Module
Viper Methods
Global Viper Method | Description |
---|---|
String.Abstract Viper Method | Creates a (plain text) abstract of the specified text, including the specified word(s). |
String.AppendIfMissing Viper Method | Appends the second string to the first if the first one doesn't end with the second one. |
String.AppendIfMissingAny Viper Method | Appends a string if the source doesn't end with any of the characters specified in anyChars. |
String.BBDecode Viper Method | Decodes a string containing BBCode formatting tags to the equivalent XHTML-formatted string representation. |
String.BBEncode Viper Method | Encodes a string containing XHTML formatting tags to the equivalent BBCode-formatted string representation. |
String.Capitalize Viper Method | Returns a capitalized string. |
String.CheckSum Viper Method | Creates a checksum for the given input. |
String.Concat Viper Method | Concatenates the given strings. |
String.Contains Viper Method | Returns true if the given string contains the given substring. |
String.DecodeAmpersand Viper Method | Decodes AMP XML entities in the given string. |
String.DecodeCharEntities Viper Method | Decodes the HTML character entity references in given string. |
String.Enclose Viper Method | Adds a prefix and/or suffix to the given string, but only if the source string is non-empty. |
String.EncodeAmpersand Viper Method | Encodes ampersand characters to AMP XML entities in the given string. |
String.EncodeAttribute Viper Method | Encodes specified data into a valid attribute value. Xml tags are removed and quotes are encoded. |
String.EncodeQuotes Viper Method | Encodes single and double quotes in the given string where single quotes are emitted as numeric entities. Double quote is encoded using AMP QUOT named entity. |
String.EndsWith Viper Method | Determines whether the end of this string matches the specified string when compared using the specified comparison option. |
String.Equals Viper Method | Determines whether this string and a specified System.String object have the same value. Comparison is case-insensitive. |
String.Eval Viper Method | Evaluates the given string as a Viper expression. |
String.Format Viper Method | Formats the specified string/number into the specified format. This method always uses the invariant culture. |
String.FormatSize Viper Method | Returns a human readable representation of a (file) size. |
String.HtmlDecode Viper Method | Returns the HtmlDecoded string of the given string. |
String.HtmlEncode Viper Method | Returns the HtmlEncoded string of the given string. |
String.IfEmpty Viper Method | Returns the value if it is not empty, the defaultValue otherwise. |
String.Indent Viper Method | Adjust the indentation at the start of each line of data. |
String.IndexOf Viper Method | Returns the position of a substring in a string. |
String.IsEmpty Viper Method | Return true if the given string is empty. |
String.IsMatch Viper Method | Determines whether the specified string matches the given regular expression pattern. |
String.IsNumeric Viper Method | Checks whether the given object can be cast to an integer. |
String.JsDecode Viper Method | Unescapes all Javascript escaped characters such that it becomes a normal string. |
String.JsEncode Viper Method | Escapes all characters in the input string such that the output is a valid Javascript string. Escaped character are e.g. Carriage Return, Linefeed, Tab, single quote, double quote and backslash. |
String.LastIndexOf Viper Method | Returns the last position of a substring in a string. |
String.Length Viper Method | Returns the length of the given string. |
String.Literal Viper Method | Returns a literal string. |
String.NormalizeLineEndings Viper Method | Normalizes the line endings to use CrLf characters. |
String.NormalizeWhitespace Viper Method | Normalizes the whitespace. |
String.Pad Viper Method | Pads the specified data on the right side to the given length. |
String.Quote Viper Method | Quotes a string using double quotes. |
String.RemoveTags Viper Method | Removes all Xml/Html tags from the given string. |
String.RemoveVipers Viper Method | Remove all vipers from a string. |
String.RemoveWhitespace Viper Method | Removes all whitespace. |
String.Repeat Viper Method | Repeats the given string. |
String.Replace Viper Method | Replaces data in the specified string. |
String.Split Viper Method | Splits the specified string into a datatable with one column, using the given delimiters. |
String.StartsWith Viper Method | Determines whether the beginning of this string matches the specified string when compared using the specified comparison option. |
String.Substring Viper Method | Returns the substring of the given string, starting at the specified index. |
String.SXMLDecode Viper Method | Decodes an SXML encoded string to re-enable SXML processing. |
String.SXMLEncode Viper Method | Encodes an SXML string to disable SXML processing. |
String.ToHex Viper Method | Returns the Hex representation of the given string. |
String.ToLower Viper Method | Returns a lower case version of the given string. |
String.ToMD5 Viper Method | Returns the Md5 hash of the given string. |
String.ToTitleCase Viper Method | Returns a "titlecase" version of the given string. Generally, title casing converts the first character of each word to uppercase and the rest of the characters to lowercase. However, a word that is entirely uppercase, such as an acronym, is not converted. |
String.ToUpper Viper Method | Returns an upper case version of the given string. |
String.Trim Viper Method | Trims spaces off the given string. |
String.TrimLeftRight Viper Method | Trims the given left and right parts off a string.Uses case-sensitive comparison. |
String.Truncate Viper Method | Truncate a string at a word boundary close to the given position. |
String.UrlDecode Viper Method | Urldecodes the given string. (Converts a string that has been encoded for transmission in a URL into a decoded string.) |
String.UrlEncode Viper Method | Urlencodes the given string. |
String.XmlDecode Viper Method | Returns the XmlDecoded string of the given string. |
String.XmlEncode Viper Method | Returns the XmlEncoded string of the given string. |
See Also
-
String.Abstract Viper Method
Creates a (plain text) abstract of the specified text, including the specified word(s). -
String.AppendIfMissing Viper Method
Appends the second string to the first if the first one doesn't end with the second one. -
String.AppendIfMissingAny Viper Method
Appends a string if the source doesn't end with any of the characters specified in anyChars. -
String.BBDecode Viper Method
Decodes a string containing BBCode formatting tags to the equivalent XHTML-formatted string representation. -
String.BBEncode Viper Method
Encodes a string containing XHTML formatting tags to the equivalent BBCode-formatted string representation. -
String.Capitalize Viper Method
Returns a capitalized string. -
String.CheckSum Viper Method
Creates a checksum for the given input. -
String.Concat Viper Method
Concatenates the given strings. -
String.Contains Viper Method
Returns true if the given string contains the given substring. -
String.DecodeAmpersand Viper Method
Decodes AMP XML entities in the given string. -
String.DecodeCharEntities Viper Method
Decodes the HTML character entity references in given string. -
String.Enclose Viper Method
Adds a prefix and/or suffix to the given string, but only if the source string is non-empty. -
String.EncodeAmpersand Viper Method
Encodes ampersand characters to AMP XML entities in the given string. -
String.EncodeAttribute Viper Method
Encodes specified data into a valid attribute value. Xml tags are removed and quotes are encoded. -
String.EncodeQuotes Viper Method
Encodes single and double quotes in the given string where single quotes are emitted as numeric entities. Double quote is encoded using AMP QUOT named entity. -
String.EndsWith Viper Method
Determines whether the end of this string matches the specified string when compared using the specified comparison option. -
String.Equals Viper Method
Determines whether this string and a specified System.String object have the same value. Comparison is case-insensitive. -
String.Eval Viper Method
Evaluates the given string as a Viper expression. -
String.Format Viper Method
Formats the specified string/number into the specified format. This method always uses the invariant culture. -
String.FormatSize Viper Method
Returns a human readable representation of a (file) size. -
String.HtmlDecode Viper Method
Returns the HtmlDecoded string of the given string. -
String.HtmlEncode Viper Method
Returns the HtmlEncoded string of the given string. -
String.IfEmpty Viper Method
Returns the value if it is not empty, the defaultValue otherwise. -
String.Indent Viper Method
Adjust the indentation at the start of each line of data. -
String.IndexOf Viper Method
Returns the position of a substring in a string. -
String.IsEmpty Viper Method
Return true if the given string is empty. -
String.IsMatch Viper Method
Determines whether the specified string matches the given regular expression pattern. -
String.IsNumeric Viper Method
Checks whether the given object can be cast to an integer. -
String.JsDecode Viper Method
Unescapes all Javascript escaped characters such that it becomes a normal string. -
String.JsEncode Viper Method
Escapes all characters in the input string such that the output is a valid Javascript string. Escaped character are e.g. Carriage Return, Linefeed, Tab, single quote, double quote and backslash. -
String.LastIndexOf Viper Method
Returns the last position of a substring in a string. -
String.Length Viper Method
Returns the length of the given string. -
String.Literal Viper Method
Returns a literal string. -
String.NormalizeLineEndings Viper Method
Normalizes the line endings to use CrLf characters. -
String.NormalizeWhitespace Viper Method
Normalizes the whitespace. -
String.Pad Viper Method
Pads the specified data on the right side to the given length. -
String.Quote Viper Method
Quotes a string using double quotes. -
String.RemoveTags Viper Method
Removes all Xml/Html tags from the given string. -
String.RemoveVipers Viper Method
Remove all vipers from a string. -
String.RemoveWhitespace Viper Method
Removes all whitespace. -
String.Repeat Viper Method
Repeats the given string. -
String.Replace Viper Method
Replaces data in the specified string. -
String.Split Viper Method
Splits the specified string into a datatable with one column, using the given delimiters. -
String.StartsWith Viper Method
Determines whether the beginning of this string matches the specified string when compared using the specified comparison option. -
String.Substring Viper Method
Returns the substring of the given string, starting at the specified index. -
String.SXMLDecode Viper Method
Decodes an SXML encoded string to re-enable SXML processing. -
String.SXMLEncode Viper Method
Encodes an SXML string to disable SXML processing. -
String.ToHex Viper Method
Returns the Hex representation of the given string. -
String.ToLower Viper Method
Returns a lower case version of the given string. -
String.ToMD5 Viper Method
Returns the Md5 hash of the given string. -
String.ToTitleCase Viper Method
Returns a "titlecase" version of the given string. Generally, title casing converts the first character of each word to uppercase and the rest of the characters to lowercase. However, a word that is entirely uppercase, such as an acronym, is not converted. -
String.ToUpper Viper Method
Returns an upper case version of the given string. -
String.Trim Viper Method
Trims spaces off the given string. -
String.TrimLeftRight Viper Method
Trims the given left and right parts off a string.Uses case-sensitive comparison. -
String.Truncate Viper Method
Truncate a string at a word boundary close to the given position. -
String.UrlDecode Viper Method
Urldecodes the given string. (Converts a string that has been encoded for transmission in a URL into a decoded string.) -
String.UrlEncode Viper Method
Urlencodes the given string. -
String.XmlDecode Viper Method
Returns the XmlDecoded string of the given string. -
String.XmlEncode Viper Method
Returns the XmlEncoded string of the given string.
- Macro
- Macro Parameters
- Macro Parameter Properties
-
Vipers
-
Global Viper Methods
- AIM Viper Class
- Audit Viper Class
- Buffer Viper Class
- Cache Viper Class
- CacheFile Viper Class
- Calendar Viper Class
- Channel Viper Class
- Char Viper Class
- Cms Viper Class
- ContentType Viper Class
- Convert Viper Class
- Database Viper Class
- DataTable Viper Class
- DateTime Viper Class
- Debug Viper Class
- DigiD Viper Class
- Env Viper Class
- FileSystem Viper Class
- FlexLayout Viper Class
- Html Viper Class
- Html.Color Viper Class
- Html.Css Viper Class
- Image Viper Class
- ImageProperties Viper Class
- ItemComments Viper Class
- ItemData Viper Class
- License Viper Class
- Locale Viper Class
- Logging Viper Class
- Login Viper Class
- Math Viper Class
- Payment Viper Class
- Personalization Viper Class
- PlaceHolder Viper Class
- Poll Viper Class
- Publication Viper Class
- RenderTemplate Viper Class
- Request Viper Class
- Response Viper Class
- Scf Viper Class
- Security Viper Class
- Session Viper Class
- Site Viper Class
- Smartlet Viper Class
- SmartletEditor Viper Class
- SmartletPreset Viper Class
- Smi Viper Class
- SmiData Viper Class
- Spice Viper Class
- Sql Viper Class
- StandardsCompliance Viper Class
- Storage Viper Class
-
- String.Abstract Viper Method
- String.AppendIfMissing Viper Method
- String.AppendIfMissingAny Viper Method
- String.BBDecode Viper Method
- String.BBEncode Viper Method
- String.Capitalize Viper Method
- String.CheckSum Viper Method
- String.Concat Viper Method
- String.Contains Viper Method
- String.DecodeAmpersand Viper Method
- String.DecodeCharEntities Viper Method
- String.Enclose Viper Method
- String.EncodeAmpersand Viper Method
- String.EncodeAttribute Viper Method
- String.EncodeQuotes Viper Method
- String.EndsWith Viper Method
- String.Equals Viper Method
- String.Eval Viper Method
- String.Format Viper Method
- String.FormatSize Viper Method
- String.HtmlDecode Viper Method
- String.HtmlEncode Viper Method
- String.IfEmpty Viper Method
- String.Indent Viper Method
- String.IndexOf Viper Method
- String.IsEmpty Viper Method
- String.IsMatch Viper Method
- String.IsNumeric Viper Method
- String.JsDecode Viper Method
- String.JsEncode Viper Method
- String.LastIndexOf Viper Method
- String.Length Viper Method
- String.Literal Viper Method
- String.NormalizeLineEndings Viper Method
- String.NormalizeWhitespace Viper Method
- String.Pad Viper Method
- String.Quote Viper Method
- String.RemoveTags Viper Method
- String.RemoveVipers Viper Method
- String.RemoveWhitespace Viper Method
- String.Repeat Viper Method
- String.Replace Viper Method
- String.Split Viper Method
- String.StartsWith Viper Method
- String.Substring Viper Method
- String.SXMLDecode Viper Method
- String.SXMLEncode Viper Method
- String.ToHex Viper Method
- String.ToLower Viper Method
- String.ToMD5 Viper Method
- String.ToTitleCase Viper Method
- String.ToUpper Viper Method
- String.Trim Viper Method
- String.TrimLeftRight Viper Method
- String.Truncate Viper Method
- String.UrlDecode Viper Method
- String.UrlEncode Viper Method
- String.XmlDecode Viper Method
- String.XmlEncode Viper Method
- SXML Viper Class
- Sys Viper Class
- Tags Viper Class
- Translation Viper Class
- Url Viper Class
- User Viper Class
- UserItemFeedback Viper Class
- Xml Viper Class
- Local Viper Methods
-
Global Viper Methods
- SXML Data Types
- Examples
- Tips & Tricks