Difference between revisions of "Documentation/How Tos/Calc: CHAR function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
m |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:CHAR function}} |
+ | {{Documentation/CalcFunc TextTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_BAHTTEXT_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_CLEAN_function | ||
+ | }}__NOTOC__ | ||
== CHAR == | == CHAR == | ||
Line 14: | Line 19: | ||
: returns <tt>'''H'''</tt>, representing character code 72. | : returns <tt>'''H'''</tt>, representing character code 72. | ||
− | {{ | + | {{Note|The international standard ODFF introduced the more versatile functions <tt>'''UNICODE'''</tt> and <tt>'''UNICHAR'''</tt>, which now are implemented in Calc.}} |
− | + | ||
− | * [[Documentation/How_Tos/Calc: Text functions|Text functions]] | + | {{SeeAlso|EN| |
+ | * [[Documentation/How_Tos/Calc: CODE function|CODE]] | ||
+ | |||
+ | * [[Documentation/How_Tos/Calc: Text functions|Text functions]] | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | + | [[Category: Documentation/Reference/Calc/Text functions]] | |
− | + | ||
− | + |
Latest revision as of 15:23, 2 February 2024
- Text Functions
- ARABICASCBASEBAHTTEXTCHARCLEANCODECONCATENATEDECIMALDOLLAREXACTFINDFIXEDJISLEFTLENLOWERMIDPROPERREPLACEREPTRIGHTROMANSEARCHSUBSTITUTETTEXTTRIMUNICHAR
CHAR
Returns a single text character, given a character code.
Syntax:
CHAR(number)
- number is the character code, in the range 1-255.
- CHAR uses your system's character mapping (for example iso-8859-1, iso-8859-2, Windows-1252, Windows-1250) to determine which character to return. Codes greater than 127 may not be portable.
Example:
CHAR(72)
- returns H, representing character code 72.
The international standard ODFF introduced the more versatile functions UNICODE and UNICHAR, which now are implemented in Calc.
See Also
-