Difference between revisions of "Documentation/How Tos/Calc: CHAR function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
Line 32: | Line 32: | ||
* [[Documentation/How_Tos/Calc:_TEXT_function|<div style="font-size: 120%;">Text]] | * [[Documentation/How_Tos/Calc:_TEXT_function|<div style="font-size: 120%;">Text]] | ||
* [[Documentation/How_Tos/Calc:_TRIM_function|<div style="font-size: 120%;">Trim]] | * [[Documentation/How_Tos/Calc:_TRIM_function|<div style="font-size: 120%;">Trim]] | ||
− | |||
* [[Documentation/How_Tos/Calc:_UNICHAR_function|<div style="font-size: 120%;">Unichar]] | * [[Documentation/How_Tos/Calc:_UNICHAR_function|<div style="font-size: 120%;">Unichar]] | ||
+ | * [[Documentation/How_Tos/Calc:_UNICODE_function|<div style="font-size: 120%;">Unicode]] | ||
* [[Documentation/How_Tos/Calc:_UPPER_function|<div style="font-size: 120%;">Upper]] | * [[Documentation/How_Tos/Calc:_UPPER_function|<div style="font-size: 120%;">Upper]] | ||
* [[Documentation/How_Tos/Calc:_VALUE_function|<div style="font-size: 120%;">Value]] | * [[Documentation/How_Tos/Calc:_VALUE_function|<div style="font-size: 120%;">Value]] |
Revision as of 11:36, 29 January 2024
CALC FUNCTIONS
- Text Functions
- BaseCharCleanCodeConcatenateDecimalDollarExactFindFixedLeftLenLowerMidProperReplaceReptRightSearchSubstituteTTextTrimUnichar
Contents
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
-