Text Functions in Formulas
- 3 minutes to read
This document describes text functions supported by DevExpress Spreadsheet Document API.
Name | Description | Syntax |
|---|---|---|
Converts a number to Thai text and appends “Baht” to the end of the text. | BAHTTEXT(number) | |
Returns the character that corresponds to the specified number in the system character set. | CHAR(number) The number must be between 1 and 255. | |
Removes all non-printable characters from text. | CLEAN(text) The CLEAN function removes the first 32 nonprinting characters in the 7-bit ASCII code (values 0 through 31) from text. The Unicode character set contains additional nonprinting characters (values 127, 129, 141, 143, 144, and 157). | |
Returns a numeric code for the first character in a text string. | CODE(text) | |
Combines text from multiple ranges or strings without a delimiter. | CONCAT(text1, [text2],…) | |
Joins two or more text strings into one string. | CONCATENATE(text1, [text2], …) | |
Converts a number to text in currency format and rounds decimals to the specified number of places. | DOLLAR(number, [decimals]) | |
Checks whether two strings are exactly the same. | EXACT(text1, text2) | |
Returns the starting position of one text string within another text string. The function is case-sensitive. | FIND(find_text, within_text, [start_num]) | |
Rounds a number to the specified number of decimals and returns the result as text with or without commas. | FIXED(number, [decimals], [no_commas]) | |
Returns a specified number of characters from the start of a text string. | LEFT(text, [num_chars]) | |
Returns the number of characters in a text string. | LEN(text) | |
Converts all uppercase letters in a text string to lowercase. | LOWER(text) | |
Returns a specified number of characters from a text string, from the position that you specify. | MID(text, start_num, num_chars) | |
Converts text to a number in a locale-independent manner. | NUMBERVALUE(Text, [Decimal_separator], [Group_separator]) | |
Converts all characters in a text string to proper case (the first letter in each word is uppercase and all other letters are lowercase). | PROPER(text) | |
Replaces part of a text string with another string. The replaced part starts at the specified position. | REPLACE(old_text, start_num, num_chars, new_text) | |
Repeats text the specified number of times. | REPT(text, number_times) | |
Returns a specified number of characters from the end of a text string. | RIGHT(text,[num_chars]) | |
Returns the position of a character or text string within a specified text string. The function is not case-sensitive. | SEARCH(find_text,within_text,[start_num]) | |
Substitutes new text for old text in a text string. | SUBSTITUTE(text, old_text, new_text, [instance_num]) | |
Returns the text that the value argument refers to. If the value argument does not refer to text, T returns “” (empty text). | T(value) | |
Converts a value to text in a specific number format. | TEXT(value, format_text) | |
Combines text strings and separates them with the specified delimiter. | TEXTJOIN(delimiter, ignore_empty, text1, [text2], …) | |
Removes all spaces from text except for single spaces between words. | TRIM(text) | |
Returns the number (code point) that corresponds to the first character of the text. | UNICODE(text) | |
Returns the Unicode character that corresponds to the specified numeric value. | UNICHAR(number) | |
Converts text to uppercase. | UPPER(text) | |
Converts a text string that contains a number to a number. | VALUE(text) |