1010data Insights Platform offers a rich set of functions that may be used in value expressions when creating computed columns and in selection expressions when performing row selections.
String functions are vector functions that manipulate vectors of strings to provide information about a string or substring, concatenate and split strings, or transform strings based on specified criteria.
1010data provides a whole range of functions that can provide information and act on your data.
The time/date functions are vector functions that operate on columns containing time-related data and return specific information about the date/time for each row.
Group functions, or g_functions, are used to perform operations, such as summarizations, on rows that have the same values in a set of given columns.
Math functions are vector functions that perform mathematical operations on one or more columns and return a column of results based on the operation.
Categorization functions are vector functions that organize data and determine logical groupings. These functions can be used for conditionalizing results and/or bucketing value ranges.
dexml(S;O)
Converts an XML string into a 1010data XML value or list of values (str → xml). (Available as of version 11.07)
str → xml
enhtml(X;Z)
Returns an HTML-encoded version of the given string. (Available as of version 11.25)
enxml(V;O)
Converts a 1010data XML value, or a list of values, into an XML string (xml → str). (Available as of version 11.07)
xml → str
lst_to_str(L;D)
Returns a delimiter-separated string comprised of the elements in a list-value.
prettyxml(X;)
Converts an XML special value X into a fully formatted (indented, etc.) text representation. (Available as of version 16.13)
qv(X)
Returns a properly quoted and escaped string for insertion in Macro Language code.
regex_subst(X;L;Y;I;Z)
Returns the given string with a particular match (or all matches) of a specified regular expression replaced by a given substring.
str_to_lst(S;D)
Returns a list-value from a delimiter-separated string.
strdist(X;Y;M;N)
Returns the edit distance between two given strings using a specified method.
stredit(X;P;N;Y)
Returns a given string, with a specified number of characters starting at a certain position replaced by a given substring.
strembed(X;N;P;Y;D)
Returns a given string embedded within a template that consists of a string value repeated a particular number of times.
string(X)
Returns the input value expressed as a text string.
strmap(X;Y;Z;C)
Returns the given string with certain characters replaced or deleted according to a particular mapping.
strrange(X)
Returns the unique characters of a given string sorted in ascending order.
strreverse(X;Y)
Returns the characters, or the elements delimited by a particular value, of a given string in reverse.
strsort(X;Y;U;D)
Returns the characters, or the elements delimited by a particular value, of a given string sorted in ascending or descending order.
strsubst(X;Y;I;Z)
Returns the given string with a particular occurrence (or all occurrences) of a given substring replaced with a different substring.
strtrim(X;Y;C;D)
Returns the given string with certain characters trimmed from either or both ends.
transcode(X;F;T;S;O)
Converts a string from one encoding into a different encoding. (Available as of version 12.24)
urldecode(X)
Converts raw URI, URL, or HTTP messages with hex-encoded values into human-readable strings.
List functions are scalar functions that return lists, subsets of lists, and combinations of lists, among other functionality. Lists, along with packages, are compound scalar data types that facilitate programmatic interaction with scalar data values and variables.
Data-handling functions are vector functions that return a hash value based on an input column or columns.
Row functions are vector functions that return computational outputs for row inputs, as opposed to column outputs. Row inputs are defined as a space- or comma-separated list of column names.
SQL compatibility functions are functions that treat null values as SQL nulls.
System functions are special functions in 1010data that return information about users, tables, and other system objects.
The object functions can be used to check the existence, type, and accessibility of objects such as folders, tables, and queries on the 1010data Insights Platform.
This category of functions contains special functions that don't neatly fit into other categories of functions.