In the following list of functions, only the textfunctions are explained. For full documentation, refer to the Realsoftware website.
Note that all string functions return a copy of the string and leave the input string unchanged.
Returns the Ascii-value for the first character of a string.
Returns the Ascii-value for the first byte of a string. This makes a difference for double-byte languages like japanese.
Returns the numerical value of a string
Returns the character of a given Ascii-value.
Newline is chr(13) and tabulator is chr(9). While Windows textfiles use chr(13)+chr(10) for newline, for the filters only chr(13) is used. The parsing of the correct line separator should be done with the input and the output filters. To write platform independent code, you should better use getnewline than chr(13).
Returns a singlebyte-character of a given Ascii-value.
Makes the progress bar invisible.
Returns the number of fields in string1, given the separator string2. The separator is not case-sensitive.
Returns 1 if the separator is not present, and 0 if the string1 is empty.
Converts a number to a string using local conventions.
Converts a number to a string using a given formatstring. The following characters are allowed:
Use the following format for integers:
format(5958020,"0") = 595820
Use the following format for timecodes:
format(5958020,"00\:00\:00:\00") = 00:59:58:20
Formats the number using hexadecimal notation.
Looks for an occurence of string2 in string1, starting at position of integer. If it finds one, it returns the position, if it doesn't, it returns zero.
Instr is not case-sensitive.
Looks for an occurence of string2 in string1, starting at position of integer, using raw bytes. If it finds one, it returns the position, if it doesn't, it returns zero.
Returns the leftmost characters of a string.
Returns the leftmost characters of a string, using bytecount.
Returns the string with all lowercase characters.
Removes the spaces at the beginning of the string
Returns a substring of string starting at position integer2 and with a length of integer2.
Returns a substring of string starting at position integer2 and with a length of integer2, using byte count.
Returns the nth field in string1, using string2 as a separator. The string2 is not case-sensitive.
Formats the number using octal (base 8) notation.
Prints to the console.
Replaces the first occurence of oldstring in thestring with newstring. The replace is not case-sensitive.
Replaces all occurences of oldstring in thestring with newstring. The replace is not case-sensitive.
Returns the rightmost characters of a string
Returns the rightmost characters of a string, suing byte count
Removes spaces at the end of the string
Converts a number to a string, using default formats. Is fast coded, but for big numbers, format(double,"0") does a better job.
Compares string1 with string2, using criterium integer
It returns -1, if the string2 is later in the alphabet, +1 if it is before, and 0, if both strings are the same. This function with criterium 0 is more exact than the operator =, which is case-insensitive
Returns the string with every first character of a word in capitals.
Removes spaces at both the beginning and the end of the character
Returns the highest index of a single-dimensioned array.
Returns the string all letters in capitals
Returns the numeric value of a string, using the point as decimal separator.