String Functions

This section contains topics on the following functions:

Function Description
BuildString Lets you create, manipulate and analyse a special collection of string data known as an Object, before returning its contents as a regular string value.
Chr Searches a string for a single character based on a specific index.
ComputeSHA1Hash Encrypts a string using the Secure Hash Algorithm 1 (SHA-1), returning the encrypted string as its result.
ComputeSHA256Hash Encrypts a string using the Secure Hash Algorithm 256 (SHA-256), returning the encrypted string as its result.
Decrypt Converts a string encrypted by the Encrypt function back to its original form.
Encrypt Converts a plain text string to an encrypted equivalent using simple Cipher Block Chaining (CBC).
FormatString Inserts values into specific points in an existing string and returns the updated result.
HTMLDecode Converts HTML-safe text to its original format by substituting 'safe' characters with their 'unsafe' equivalents.
HTMLEncode Converts a string into a HTML-safe version by substituting 'unsafe' characters with their 'safe' equivalents.
IsMatch Checks a string to see if it matches another value or a regular expression pattern.
JoinStrings Concatenates a series of string values into a single string.
LTrim Removes all empty characters (whitespace) from the left side of a specified string.
RemoveDecimal Removes the decimal separator from a numeric value.
RemoveFormatting Removes all formatting from a string.
ReplaceTextWithPattern Replaces all instances of the a sub-string with another, before returning the modified string.
RTrim Removes all empty characters (whitespace) from the right side of a specified string.
SplitStringIntoKeywords Separates a string into a series of sub-strings and assigns each one to a corresponding variable.
Str Converts a value into a string.
StringIndexOf Searches a string for the first occurrence of a specified sub-string.
StringLastIndexOf Searches a string for the last occurrence of a specified sub-string.
StringOccurrenceCount Counts the number of times a sub-string occurs inside another string.
StringToLower Converts a text string to lower case.
StringToTitleCase Converts a text string to title case by capitalising the first letter of each word.
StringToUpper Converts a text string to upper case.
StrLen Counts the number of characters in a string.
SubStr Extracts a sub-string from within another string.
Trim Removes all empty characters (whitespace) from either side of the specified string.
URLDecode Converts URL-safe text to its original format by substituting 'safe' characters with their 'unsafe' equivalents.
URLEncode Converts a string into a URL-safe version by substituting invalid characters with their valid equivalents.