OpenOffice.org Macros Explained

String conversion functions, shown in Table 8 , change non-string data into strings. In OOo, text is stored as Unicode version 2.0 values, providing good support for multiple languages. Each String variable can hold up to 65,535 characters .

Table 8: String conversion functions.

Function

Description

Str

Convert from a number to a String with no localization.

CStr

Convert anything to a String. Numbers and dates are formatted based on locale.

Hex

Return the hexadecimal representation of a number as a String.

Oct

Return the octal representation of a number as a String.

Категории