Text
Concat
Takes a list of items as input and returns one concatenated String.
Syntax
Concat ( Values )
Parameters
Values The list of items which will be concatenated. Type: List<Any>
Return Type
String
Empty
Returns an empty String.
Syntax
Empty ( )
Parameters
No parameters
Return Type
String
EndString
Takes the String ValueA as input and returns a String of the specified length starting from the end.
Syntax
EndString ( Value , Length )
Parameters
Value String the operation is performed on. Type: String
Length Length of the substring. Type: Int
Return Type
String
Format
Represents the formatting of a template.
Syntax
Format ( Template [, Expressions] )
Parameters
Template HTML formatted Template Type: String
Expressions (optional) List of expressions which are used in the Template. Type: Any
Return Type
String
FormatExpression
Formats a Template by replacing placeholders with they given Values.
Syntax
FormatExpression ( Template , Values )
Parameters
Template The Template to format. Type: String
Values The Values used to replace placeholders (e.g. ). Type: Dictionary<Any,Any>
Return Type
String
GetResourceValue
Returns the value of a resource, locale, and key. Returns NULL if either the resource or key are not found in either the locale or default locale.
Syntax
GetResourceValue( String Resource, String [Locale], String Key )
Parameters
Resource The name of the resource. Type: String
Locale (optional) The name of the locale. Uses the language of the current user by default. Type: String
Key The key of the value. Type: String
Return Type
String
IndexOf
Gets the Index of a given Search in a String Value.
Syntax
IndexOf ( Value , Search [, StartIndex] [, Count] )
Parameters
Value The String Value to search. Type: String
Search The String to Search for. Type: String
StartIndex (optional) The Index to start the search from. Type: Int
Count (optional) The Count of Chars to search after the start. Type: Int
Return Type
Int
Join
Takes a list of values as input, performs the toString method on each item and concatenates the given Values separated by the given Separator and returns the whole String.
Syntax
Join ( Separator , Values )
Parameters
Separator String which is used to separate the elements. Type: String
Values List of elements which will be concatenated. Type: List<Any>
Return Type
String
Length
Gets the Length of a given String Value.
Syntax
Length ( Value )
Parameters
Value The String Value to get the Length of. Type: String
Return Type
Int
Match
Search the Value for a RegEx-Pattern and returns first match and its groups.
Syntax
Match ( Value , Pattern )
Parameters
Value The Value to search in. Type: String
Pattern The RegEx-Pattern to search for. Type: String
Return Type
List<String>
Matches
Search the Value for a RegEx-Pattern and returns all matches and its groups.
Syntax
Matches ( Value , Pattern )
Parameters
Value The Value to search in. Type: String
Pattern The RegEx-Pattern to search for. Type: String
Return Type
List<List<String>>
MatchesCapture
Searches an input string for all occurrences of a regular expression line for line.
Syntax
MatchesCapture ( Value , Pattern )
Parameters
Value The string to search for a match. Type: String
Pattern RegEx-Pattern to match. Type: String
Return Type
List<String>
PadLeft
Pads the Value with the Padding character on the left side for a given Width.
Syntax
PadLeft ( Value , Width [, Padding] )
Parameters
Value String which will be used as basis for the operation. Type: String
Width Length of the padding. Type: Int
Padding (optional) Char used as padding. Type: Char
Return Type
String
PadRight
Pads the Value with the Padding character on the right side for a given Width.
Syntax
PadRight ( Value , Width [, Padding] )
Parameters
Value String which will be used as basis for the operation. Type: String
Width Length of the padding. Type: Int
Padding (optional) Char used as padding. Type: Char
Return Type
String
Replace
Replaces the Pattern Old with the Pattern New in the String Value.
Syntax
Replace ( Value , Old , New )
Parameters
Value String which will be used as basis for the operation. Type: String
Old Pattern which is replaced. Type: String
New Value which is the replacement. Type: String
Return Type
String
RestString
Retrieves a substring thats starts at a specified character position and continues to the end of the string. The index of the first character is 0.
Syntax
RestString ( Value , Index )
Parameters
Value String which will be used as basis for the operation. Type: String
Index Index position from which the String is cut off. Type: Int
Return Type
String
Split
Returns a list of Strings by splitting the Value using a Separator.
Syntax
Split ( Value , Separator )
Parameters
Value The Value to split. Type: String
Separator The Separator to split the Value. Type: String
Return Type
List<String>
StartString
Returns a copy of the original String ValueA with a specified length Length starting at the first character of the string.
Syntax
StartString ( Value , Length )
Parameters
Value String the operation is performed on. Type: String
Length Length of the substring. Type: Int
Return Type
String
StripHtml
Strips HTML tags from the Value and returns the result.
Syntax
StripHtml ( Value )
Parameters
Value The Value to strip the HTML from. Type: String
Return Type
String
SubString
Returns a substring that starts at the character position Index and has a specified length Length. The index of the first character is 0.
Syntax
SubString ( Value , Index , Length )
Parameters
Value String used as basis for the operation. Type: String
Index Position, which is used as a starting point for the Substring. Type: Int
Length Length of the substring. Type: Int
Return Type
String
ToLower
Takes a String as input and returns a copy of that String in lower case characters.
Syntax
ToLower ( Value )
Parameters
Value String used as basis for the operation. Type: String
Return Type
String
ToUpper
Takes a String as input and returns a copy of that String in upper case characters.
Syntax
ToUpper ( Value )
Parameters
Value String used as basis for the operation. Type: String
Return Type
String
Translate
Represents a translator for languages.
Syntax
Translate ( Language , Default , Translations )
Parameters
Language The Language to translate to. Type: Language
Default The Default text if no translation for the Language is found. Type: String
Translations The Translations where to search for the correct Language. Type: List<Translation>
Return Type
String
Translation
Represents a Translation for a Language.
Syntax
Translation ( Language , Text )
Parameters
Language The Language of the Translation. Type: Language
Text The Translation text. Type: String
Return Type
Translation
Trim
Removes space characters on both sides of the String.
Syntax
Trim ( Value )
Parameters
Value String which is the basis of the operation. Type: String
Return Type
String
TrimLeft
Removes space characters on the left side of the String.
Syntax
TrimLeft ( Value )
Parameters
Value String which is the basis of the operation. Type: String
Return Type
String
TrimRight
Removes space characters on the right side of the String.
Syntax
TrimRight ( Value )
Parameters
Value String which is the basis of the operation. Type: String
Return Type
String
Last updated
Was this helpful?