1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
402dbb15cSAndrew Rist<!--***********************************************************
502dbb15cSAndrew Rist *
602dbb15cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
702dbb15cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
802dbb15cSAndrew Rist * distributed with this work for additional information
902dbb15cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
1002dbb15cSAndrew Rist * to you under the Apache License, Version 2.0 (the
1102dbb15cSAndrew Rist * "License"); you may not use this file except in compliance
1202dbb15cSAndrew Rist * with the License.  You may obtain a copy of the License at
1302dbb15cSAndrew Rist *
1402dbb15cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1502dbb15cSAndrew Rist *
1602dbb15cSAndrew Rist * Unless required by applicable law or agreed to in writing,
1702dbb15cSAndrew Rist * software distributed under the License is distributed on an
1802dbb15cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1902dbb15cSAndrew Rist * KIND, either express or implied.  See the License for the
2002dbb15cSAndrew Rist * specific language governing permissions and limitations
2102dbb15cSAndrew Rist * under the License.
2202dbb15cSAndrew Rist *
2302dbb15cSAndrew Rist ***********************************************************-->
2402dbb15cSAndrew Rist
2502dbb15cSAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir      <topic id="textscalc0104060110xml" indexer="include">
30cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Text Functions</title>
31cdf0e10cSrcweir         <filename>/text/scalc/01/04060110.xhp</filename>
32cdf0e10cSrcweir      </topic>
33cdf0e10cSrcweir   </meta>
34cdf0e10cSrcweir   <body>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145389"><bookmark_value>text in cells; functions</bookmark_value>
36cdf0e10cSrcweir      <bookmark_value>functions; text functions</bookmark_value>
37cdf0e10cSrcweir      <bookmark_value>Function Wizard;text</bookmark_value>
38cdf0e10cSrcweir</bookmark>
39cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145389" role="heading" level="1" l10n="U" oldref="1">Text Functions</paragraph>
40cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3152986" role="paragraph" l10n="CHG" oldref="2"><variable id="texttext">This section contains descriptions of the <emph>Text</emph> functions.
41cdf0e10cSrcweir</variable></paragraph>
42cdf0e10cSrcweir      <section id="howtoget">
43cdf0e10cSrcweir         <embed href="text/scalc/00/00000404.xhp#eikatext"/>
44cdf0e10cSrcweir      </section>
45cdf0e10cSrcweir<sort order="asc">
46cdf0e10cSrcweir<section id="arabic">
47cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149384"><bookmark_value>ARABIC function</bookmark_value>
48cdf0e10cSrcweir</bookmark>
49cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARABISCH" id="bm_id3145359" localize="false"/>
50cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149384" role="heading" level="2" l10n="U"
51cdf0e10cSrcweir                    oldref="239">ARABIC</paragraph>
52cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153558" role="paragraph" l10n="U" oldref="240"><ahelp hid="HID_FUNC_ARABISCH">Calculates the value of a Roman number. The value range must be between 0 and 3999.</ahelp></paragraph>
53cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3153011" role="heading" level="3" l10n="U"
54cdf0e10cSrcweir                    oldref="241">Syntax</paragraph>
55cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155523" role="code" l10n="U" oldref="242">ARABIC("Text")</paragraph>
56cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151193" role="paragraph" l10n="U" oldref="243">
57cdf0e10cSrcweir            <emph>Text</emph> is the text that represents a Roman number.</paragraph>
58cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3155758" role="heading" level="3" l10n="U"
59cdf0e10cSrcweir                    oldref="244">Example</paragraph>
60cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154621" role="paragraph" l10n="U" oldref="245">
61cdf0e10cSrcweir            <item type="input">=ARABIC("MXIV")</item> returns 1014</paragraph>
62cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147553" role="paragraph" l10n="U" oldref="246">
63cdf0e10cSrcweir            <item type="input">=ARABIC("MMII")</item> returns 2002</paragraph>
64cdf0e10cSrcweir      </section>
65cdf0e10cSrcweir      <section id="asc">
66cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id8796349"><bookmark_value>ASC function</bookmark_value>
67cdf0e10cSrcweir</bookmark><comment>i79585</comment>
68cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ASC" id="bm_id3187353" localize="false"/>
69cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id7723929" role="heading" level="2" l10n="NEW">ASC</paragraph>
70cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id8455153" role="paragraph" l10n="NEW"><ahelp hid=".">The ASC function converts full-width to half-width ASCII and katakana characters. Returns a text string.</ahelp></paragraph>
71*6f9008d8SAriel Constenla-Haile         <paragraph xml-lang="en-US" id="par_id9912411" role="paragraph" l10n="NEW">See <link href="https://wiki.openoffice.org/wiki/Calc/Features/JIS_and_ASC_functions">JIS and ASC Spreadsheet Functions</link> for a conversion table.</paragraph>
72cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id9204992" role="heading" level="3" l10n="NEW">Syntax</paragraph>
73cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id1993774" role="code" l10n="NEW">ASC("Text")</paragraph>
74cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id2949919" role="paragraph" l10n="NEW">
75cdf0e10cSrcweir            <emph>Text</emph> is the text that contains characters to be converted.</paragraph>
76cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id2355113" role="paragraph" l10n="NEW">See also JIS function.</paragraph>
77cdf0e10cSrcweir      </section>
78cdf0e10cSrcweir      <section id="bahttext">
79cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id9323709"><bookmark_value>BAHTTEXT function</bookmark_value>
80cdf0e10cSrcweir</bookmark>
81cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BAHTTEXT" id="bm_id744346" localize="false"/><comment>i66350</comment>
82cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id6695455" role="heading" level="2" l10n="NEW">BAHTTEXT</paragraph>
83cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id354014" role="paragraph" l10n="NEW">Converts a number to Thai text, including the Thai currency names.</paragraph>
84cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id9942014" role="heading" level="3" l10n="NEW">Syntax</paragraph>
85cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id8780785" role="code" l10n="NEW">BAHTTEXT(Number)</paragraph>
86cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id1539353" role="paragraph" l10n="NEW">
87cdf0e10cSrcweir            <emph>Number</emph> is any number. "Baht" is appended to the integral part of the number, and "Satang" is appended to the decimal part of the number.</paragraph>
88cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id9694814" role="heading" level="3" l10n="NEW">Example</paragraph>
89cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3289284" role="paragraph" l10n="NEW">
90cdf0e10cSrcweir            <item type="input">=BAHTTEXT(12.65)</item> returns a string in Thai characters with the meaning of "Twelve Baht and sixty five Satang".</paragraph>
91cdf0e10cSrcweir      </section>
92cdf0e10cSrcweir      <section id="base">
93cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153072"><bookmark_value>BASE function</bookmark_value>
94cdf0e10cSrcweir</bookmark>
95cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BASIS" id="bm_id3150957" localize="false"/>
96cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153072" role="heading" level="2" l10n="U"
97cdf0e10cSrcweir                    oldref="213">BASE</paragraph>
98cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153289" role="paragraph" l10n="U" oldref="214"><ahelp hid="HID_FUNC_BASIS">Converts a positive integer to a specified base into a text from the <link href="text/shared/00/00000005.xhp#zahlensystem" name="numbering system">numbering system</link>.</ahelp> The digits 0-9 and the letters A-Z are used.</paragraph>
99cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3146097" role="heading" level="3" l10n="U"
100cdf0e10cSrcweir                    oldref="215">Syntax</paragraph>
101cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155743" role="code" l10n="U" oldref="216">BASE(Number; Radix; [MinimumLength])</paragraph>
102cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151339" role="paragraph" l10n="U" oldref="217">
103cdf0e10cSrcweir            <emph>Number</emph> is the positive integer to be converted.</paragraph>
104cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3159262" role="paragraph" l10n="U" oldref="218">
105cdf0e10cSrcweir            <emph>Radix</emph> indicates the base of the number system. It may be any positive integer between 2 and 36.</paragraph>
106cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148746" role="paragraph" l10n="U" oldref="219">
107cdf0e10cSrcweir            <emph>MinimumLength</emph> (optional) determines the minimum length of the character sequence that has been created. If the text is shorter than the indicated minimum length, zeros are added to the left of the string.</paragraph>
108cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3146323" role="heading" level="3" l10n="U"
109cdf0e10cSrcweir                    oldref="220">Example</paragraph>
110cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156399"><bookmark_value>decimal system; converting to</bookmark_value>
111cdf0e10cSrcweir</bookmark>
112cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156399" role="paragraph" l10n="U" oldref="221">
113cdf0e10cSrcweir            <item type="input">=BASE(17;10;4)</item> returns 0017 in the decimal system.</paragraph>
114cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3157871"><bookmark_value>binary system; converting to</bookmark_value>
115cdf0e10cSrcweir</bookmark>
116cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157871" role="paragraph" l10n="U" oldref="222">
117cdf0e10cSrcweir            <item type="input">=BASE(17;2)</item> returns 10001 in the binary system.</paragraph>
118cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145226"><bookmark_value>hexadecimal system; converting to</bookmark_value>
119cdf0e10cSrcweir</bookmark>
120cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145226" role="paragraph" l10n="U" oldref="223">
121cdf0e10cSrcweir            <item type="input">=BASE(255;16;4)</item> returns 00FF in the hexadecimal system.</paragraph>
122cdf0e10cSrcweir      </section>
123cdf0e10cSrcweir      <section id="char">
124cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149321"><bookmark_value>CHAR function</bookmark_value>
125cdf0e10cSrcweir</bookmark>
126cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZEICHEN" id="bm_id3159128" localize="false"/>
127cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149321" role="heading" level="2" l10n="U"
128cdf0e10cSrcweir                    oldref="201">CHAR</paragraph>
129cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149150" role="paragraph" l10n="U" oldref="202"><ahelp hid="HID_FUNC_ZEICHEN">Converts a number into a character according to the current code table.</ahelp> The number can be a two-digit or three-digit integer number.</paragraph>
130cdf0e10cSrcweir         <embed href="text/scalc/00/00000004.xhp#codes"/>
131cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3149945" role="heading" level="3" l10n="U"
132cdf0e10cSrcweir                    oldref="203">Syntax</paragraph>
133cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3145634" role="code" l10n="U" oldref="204">CHAR(Number)</paragraph>
134cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155906" role="paragraph" l10n="U" oldref="205">
135cdf0e10cSrcweir            <emph>Number</emph> is a number between 1 and 255 representing the code value for the character.</paragraph>
136cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3152982" role="heading" level="3" l10n="U"
137cdf0e10cSrcweir                    oldref="207">Example</paragraph>
138cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149890" role="paragraph" l10n="CHG" oldref="208">
139cdf0e10cSrcweir            <item type="input">=CHAR(100)</item> returns the character d.</paragraph>
140cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id0907200910283297" role="paragraph" l10n="NEW">="abc" &amp; CHAR(10) &amp; "def" inserts a newline character into the string.</paragraph>
141cdf0e10cSrcweir      </section>
142cdf0e10cSrcweir      <section id="clean">
143cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149009"><bookmark_value>CLEAN function</bookmark_value>
144cdf0e10cSrcweir</bookmark>
145cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SAEUBERN" id="bm_id3148729" localize="false"/>
146cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149009" role="heading" level="2" l10n="U"
147cdf0e10cSrcweir                    oldref="132">CLEAN</paragraph>
148cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150482" role="paragraph" l10n="U" oldref="133"><ahelp hid="HID_FUNC_SAEUBERN">All non-printing characters are removed from the string.</ahelp></paragraph>
149cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3146880" role="heading" level="3" l10n="U"
150cdf0e10cSrcweir                    oldref="134">Syntax</paragraph>
151cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147472" role="code" l10n="U" oldref="135">CLEAN("Text")</paragraph>
152cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150695" role="paragraph" l10n="U" oldref="136">
153cdf0e10cSrcweir            <emph>Text</emph> refers to the text from which to remove all non-printable characters.</paragraph>
154cdf0e10cSrcweir      </section>
155cdf0e10cSrcweir      <section id="code">
156cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155498"><bookmark_value>CODE function</bookmark_value>
157cdf0e10cSrcweir</bookmark>
158cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CODE" id="bm_id3159084" localize="false"/>
159cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155498" role="heading" level="2" l10n="U" oldref="3">CODE</paragraph>
160cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3152770" role="paragraph" l10n="U" oldref="4"><ahelp hid="HID_FUNC_CODE">Returns a numeric code for the first character in a text string.</ahelp></paragraph>
161cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3155830" role="heading" level="3" l10n="U" oldref="5">Syntax</paragraph>
162cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149188" role="code" l10n="U" oldref="6">CODE("Text")</paragraph>
163cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154383" role="paragraph" l10n="U" oldref="7">
164cdf0e10cSrcweir            <emph>Text</emph> is the text for which the code of the first character is to be found.</paragraph>
165cdf0e10cSrcweir         <embed href="text/scalc/00/00000004.xhp#codes"/>
166cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3154394" role="heading" level="3" l10n="U" oldref="8">Example</paragraph>
167cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3159209" role="paragraph" l10n="U" oldref="9">
168cdf0e10cSrcweir            <item type="input">=CODE("Hieronymus")</item> returns 72, <item type="input">=CODE("hieroglyphic")</item> returns 104.</paragraph>
169cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150280" role="note" l10n="U" oldref="211">The code used here does not refer to ASCII, but to the code table currently loaded.</paragraph>
170cdf0e10cSrcweir      </section>
171cdf0e10cSrcweir      <section id="concatenate">
172cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149688"><bookmark_value>CONCATENATE function</bookmark_value>
173cdf0e10cSrcweir</bookmark>
174cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VERKETTEN" id="bm_id3153084" localize="false"/>
175cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149688" role="heading" level="2" l10n="U"
176cdf0e10cSrcweir                    oldref="167">CONCATENATE</paragraph>
177cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154524" role="paragraph" l10n="U" oldref="168"><ahelp hid="HID_FUNC_VERKETTEN">Combines several text strings into one string.</ahelp></paragraph>
178cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3149542" role="heading" level="3" l10n="U"
179cdf0e10cSrcweir                    oldref="169">Syntax</paragraph>
180cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155954" role="code" l10n="U" oldref="170">CONCATENATE("Text1"; ...; "Text30")</paragraph>
181cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3146847" role="paragraph" l10n="U" oldref="171">
182cdf0e10cSrcweir            <emph>Text 1; Text 2; ...</emph> represent up to 30 text passages which are to be combined into one string.</paragraph>
183cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3153110" role="heading" level="3" l10n="U"
184cdf0e10cSrcweir                    oldref="172">Example</paragraph>
185cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150008" role="paragraph" l10n="U" oldref="173">
186cdf0e10cSrcweir            <item type="input">=CONCATENATE("Good ";"Morning ";"Mrs. ";"Doe")</item> returns: Good Morning Mrs. Doe.</paragraph>
187cdf0e10cSrcweir      </section>
188cdf0e10cSrcweir      <section id="decimal">
189cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145166"><bookmark_value>DECIMAL function</bookmark_value>
190cdf0e10cSrcweir</bookmark>
191cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DEZIMAL" id="bm_id3150338" localize="false"/>
192cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145166" role="heading" level="2" l10n="U"
193cdf0e10cSrcweir                    oldref="225">DECIMAL</paragraph>
194cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156361" role="paragraph" l10n="U" oldref="226"><ahelp hid="HID_FUNC_DEZIMAL">Converts text with characters from a <link href="text/shared/00/00000005.xhp#zahlensystem" name="number system">number system</link> to a positive integer in the base radix given.</ahelp> The radix must be in the range 2 to 36. Spaces and tabs are ignored. The <emph>Text</emph> field is not case-sensitive.</paragraph>
195cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3157994" role="paragraph" l10n="U" oldref="227">If the radix is 16, a leading x or X or 0x or 0X, and an appended h or H, is disregarded. If the radix is 2, an appended b or B is disregarded. Other characters that do not belong to the number system generate an error.</paragraph>
196cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3150014" role="heading" level="3" l10n="U"
197cdf0e10cSrcweir                    oldref="228">Syntax</paragraph>
198cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154328" role="code" l10n="U" oldref="229">DECIMAL("Text"; Radix)</paragraph>
199cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150128" role="paragraph" l10n="U" oldref="230">
200cdf0e10cSrcweir            <emph>Text</emph> is the text to be converted. To differentiate between a hexadecimal number, such as A1 and the reference to cell A1, you must place the number in quotation marks, for example, "A1" or "FACE".</paragraph>
201cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3145241" role="paragraph" l10n="U" oldref="231">
202cdf0e10cSrcweir            <emph>Radix</emph> indicates the base of the number system. It may be any positive integer between 2 and 36.</paragraph>
203cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3156062" role="heading" level="3" l10n="U"
204cdf0e10cSrcweir                    oldref="232">Example</paragraph>
205cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3145355" role="paragraph" l10n="U" oldref="233">
206cdf0e10cSrcweir            <item type="input">=DECIMAL("17";10)</item> returns 17.</paragraph>
207cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155622" role="paragraph" l10n="U" oldref="234">
208cdf0e10cSrcweir            <item type="input">=DECIMAL("FACE";16)</item> returns 64206.</paragraph>
209cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151015" role="paragraph" l10n="U" oldref="235">
210cdf0e10cSrcweir            <item type="input">=DECIMAL("0101";2)</item> returns 5.</paragraph>
211cdf0e10cSrcweir      </section>
212cdf0e10cSrcweir      <section id="dollar">
213cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3148402"><bookmark_value>DOLLAR function</bookmark_value>
214cdf0e10cSrcweir</bookmark>
215cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DM" id="bm_id3149532" localize="false"/>
216cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148402" role="heading" level="2" l10n="U"
217cdf0e10cSrcweir                    oldref="11">DOLLAR</paragraph>
218cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153049" role="paragraph" l10n="U" oldref="12"><ahelp hid="HID_FUNC_DM">Converts a number to an amount in the currency format, rounded to a specified decimal place.</ahelp> In the <item type="literal">Value</item> field enter the number to be converted to currency. Optionally, you may enter the number of decimal places in the <item type="literal">Decimals</item> field. If no value is specified, all numbers in currency format will be displayed with two decimal places. </paragraph>
219cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151280" role="paragraph" l10n="U" oldref="263">You set the currency format in your system settings.</paragraph>
220cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3150569" role="heading" level="3" l10n="U"
221cdf0e10cSrcweir                    oldref="13">Syntax</paragraph>
222cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154188" role="code" l10n="U" oldref="14">DOLLAR(Value; Decimals)</paragraph>
223cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3145299" role="paragraph" l10n="U" oldref="15">
224cdf0e10cSrcweir            <emph>Value</emph> is a number, a reference to a cell containing a number, or a formula which returns a number.</paragraph>
225cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3145629" role="paragraph" l10n="CHG" oldref="16">
226cdf0e10cSrcweir            <emph>Decimals</emph> is the optional number of decimal places.</paragraph>
227cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3149030" role="heading" level="3" l10n="U"
228cdf0e10cSrcweir                    oldref="17">Example</paragraph>
229cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153546" role="paragraph" l10n="U" oldref="18">
230cdf0e10cSrcweir            <item type="input">=DOLLAR(255)</item> returns $255.00.</paragraph>
231cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154635" role="paragraph" l10n="U" oldref="19">
232cdf0e10cSrcweir            <item type="input">=DOLLAR(367.456;2)</item> returns $367.46. Use the decimal separator that corresponds to the <link href="text/shared/optionen/01140000.xhp" name="current locale setting">current locale setting</link>.</paragraph>
233cdf0e10cSrcweir      </section>
234cdf0e10cSrcweir      <section id="exact">
235cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3150685"><bookmark_value>EXACT function</bookmark_value>
236cdf0e10cSrcweir</bookmark>
237cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_IDENTISCH" id="bm_id3155081" localize="false"/>
238cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150685" role="heading" level="2" l10n="U"
239cdf0e10cSrcweir                    oldref="78">EXACT</paragraph>
240cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3158413" role="paragraph" l10n="U" oldref="79"><ahelp hid="HID_FUNC_IDENTISCH">Compares two text strings and returns TRUE if they are identical.</ahelp> This function is case-sensitive.</paragraph>
241cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3152817" role="heading" level="3" l10n="U"
242cdf0e10cSrcweir                    oldref="80">Syntax</paragraph>
243cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148594" role="code" l10n="U" oldref="81">EXACT("Text1"; "Text2")</paragraph>
244cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153224" role="paragraph" l10n="U" oldref="82">
245cdf0e10cSrcweir            <emph>Text1</emph> refers to the first text to compare.</paragraph>
246cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148637" role="paragraph" l10n="U" oldref="83">
247cdf0e10cSrcweir            <emph>Text2</emph> is the second text to compare.</paragraph>
248cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3149777" role="heading" level="3" l10n="U"
249cdf0e10cSrcweir                    oldref="84">Example</paragraph>
250cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156263" role="paragraph" l10n="U" oldref="85">
251cdf0e10cSrcweir            <item type="input">=EXACT("microsystems";"Microsystems")</item> returns FALSE.</paragraph>
252cdf0e10cSrcweir      </section>
253cdf0e10cSrcweir      <section id="find">
254cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152589"><bookmark_value>FIND function</bookmark_value>
255cdf0e10cSrcweir</bookmark>
256cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FINDEN" id="bm_id3147482" localize="false"/>
257cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152589" role="heading" level="2" l10n="U"
258cdf0e10cSrcweir                    oldref="44">FIND</paragraph>
259cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3146149" role="paragraph" l10n="U" oldref="45"><ahelp hid="HID_FUNC_FINDEN">Looks for a string of text within another string.</ahelp> You can also define where to begin the search. The search term can be a number or any string of characters. The search is case-sensitive.</paragraph>
260cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3083284" role="heading" level="3" l10n="U"
261cdf0e10cSrcweir                    oldref="46">Syntax</paragraph>
262cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3083452" role="code" l10n="U" oldref="47">FIND("FindText"; "Text"; Position)</paragraph>
263cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150608" role="paragraph" l10n="U" oldref="48">
264cdf0e10cSrcweir            <emph>FindText</emph> refers to the text to be found.</paragraph>
265cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3152374" role="paragraph" l10n="U" oldref="49">
266cdf0e10cSrcweir            <emph>Text</emph> is the text where the search takes place.</paragraph>
267cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3152475" role="paragraph" l10n="U" oldref="50">
268cdf0e10cSrcweir            <emph>Position</emph> (optional) is the position in the text from which the search starts.</paragraph>
269cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3154812" role="heading" level="3" l10n="U"
270cdf0e10cSrcweir                    oldref="51">Example</paragraph>
271cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156375" role="paragraph" l10n="U" oldref="52">
272cdf0e10cSrcweir            <item type="input">=FIND(76;998877665544)</item> returns 6.</paragraph>
273cdf0e10cSrcweir      </section>
274cdf0e10cSrcweir      <section id="fixed">
275cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149268"><bookmark_value>FIXED function</bookmark_value>
276cdf0e10cSrcweir</bookmark>
277cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FEST" id="bm_id3149450" localize="false"/>
278cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149268" role="heading" level="2" l10n="U"
279cdf0e10cSrcweir                    oldref="34">FIXED</paragraph>
280cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155833" role="paragraph" l10n="CHG" oldref="35"><ahelp hid="HID_FUNC_FEST">Returns a number as text with a specified number of decimal places and optional thousands separators.</ahelp></paragraph>
281cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3152470" role="heading" level="3" l10n="U"
282cdf0e10cSrcweir                    oldref="36">Syntax</paragraph>
283cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147567" role="code" l10n="U" oldref="37">FIXED(Number; Decimals; NoThousandsSeparators)</paragraph>
284cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151272" role="paragraph" l10n="U" oldref="38">
285cdf0e10cSrcweir            <emph>Number</emph> refers to the number to be formatted.</paragraph>
286cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156322" role="paragraph" l10n="U" oldref="39">
287cdf0e10cSrcweir            <emph>Decimals</emph> refers to the number of decimal places to be displayed.</paragraph>
288cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150877" role="paragraph" l10n="U" oldref="40">
289cdf0e10cSrcweir            <emph>NoThousandsSeparators</emph> (optional) determines whether the thousands separator is used. If the parameter is a number not equal to 0, the thousands separator is suppressed. If the parameter is equal to 0 or if it is missing altogether, the thousands separators of your <link href="text/shared/optionen/01140000.xhp" name="current locale setting">current locale setting</link> are displayed.</paragraph>
290cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3149040" role="heading" level="3" l10n="U"
291cdf0e10cSrcweir                    oldref="41">Example</paragraph>
292cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3145208" role="paragraph" l10n="CHG" oldref="42">
293cdf0e10cSrcweir            <item type="input">=FIXED(1234567.89;3)</item> returns 1,234,567.890 as a text string. </paragraph>
294cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id5282143" role="paragraph" l10n="NEW">
295cdf0e10cSrcweir            <item type="input">=FIXED(1234567.89;3;1)</item> returns 1234567.890 as a text string.</paragraph>
296cdf0e10cSrcweir      </section>
297cdf0e10cSrcweir      <section id="jis">
298cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id7319864"><bookmark_value>JIS function</bookmark_value>
299cdf0e10cSrcweir</bookmark>
300cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_JIS" id="bm_id3818475" localize="false"/>
301cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3666188" role="heading" level="2" l10n="NEW">JIS</paragraph>
302cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id964384" role="paragraph" l10n="NEW"><ahelp hid=".">The JIS function converts half-width to full-width ASCII and katakana characters. Returns a text string.</ahelp></paragraph>
303*6f9008d8SAriel Constenla-Haile         <paragraph xml-lang="en-US" id="par_id1551561" role="paragraph" l10n="NEW">See <link href="https://wiki.openoffice.org/wiki/Calc/Features/JIS_and_ASC_functions">JIS and ASC Spreadsheet Functions</link> for a conversion table.</paragraph>
304cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id2212897" role="heading" level="3" l10n="NEW">Syntax</paragraph>
305cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id2504654" role="code" l10n="NEW">JIS("Text")</paragraph>
306cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id5292519" role="paragraph" l10n="NEW">
307cdf0e10cSrcweir            <emph>Text</emph> is the text that contains characters to be converted.</paragraph>
308cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3984496" role="paragraph" l10n="NEW">See also ASC function.</paragraph>
309cdf0e10cSrcweir      </section>
310cdf0e10cSrcweir      <section id="left">
311cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3147083"><bookmark_value>LEFT function</bookmark_value>
312cdf0e10cSrcweir</bookmark>
313cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LINKS" id="bm_id3154645" localize="false"/>
314cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147083" role="heading" level="2" l10n="U"
315cdf0e10cSrcweir                    oldref="95">LEFT</paragraph>
316cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153622" role="paragraph" l10n="CHG" oldref="96"><ahelp hid="HID_FUNC_LINKS">Returns the first character or characters of a text.</ahelp></paragraph>
317cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3156116" role="heading" level="3" l10n="U"
318cdf0e10cSrcweir                    oldref="97">Syntax</paragraph>
319cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3146786" role="code" l10n="U" oldref="98">LEFT("Text"; Number)</paragraph>
320cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147274" role="paragraph" l10n="U" oldref="99">
321cdf0e10cSrcweir            <emph>Text</emph> is the text where the initial partial words are to be determined.</paragraph>
322cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153152" role="paragraph" l10n="U" oldref="100">
323cdf0e10cSrcweir            <emph>Number</emph> (optional) specifies the number of characters for the start text. If this parameter is not defined, one character is returned.</paragraph>
324cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3150260" role="heading" level="3" l10n="U"
325cdf0e10cSrcweir                    oldref="101">Example</paragraph>
326cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149141" role="paragraph" l10n="U" oldref="102">
327cdf0e10cSrcweir            <item type="input">=LEFT("output";3)</item> returns “out”.</paragraph>
328cdf0e10cSrcweir      </section>
329cdf0e10cSrcweir      <section id="len">
330cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156110"><bookmark_value>LEN function</bookmark_value>
331cdf0e10cSrcweir</bookmark>
332cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LAENGE" id="bm_id3154050" localize="false"/>
333cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3156110" role="heading" level="2" l10n="U"
334cdf0e10cSrcweir                    oldref="104">LEN</paragraph>
335cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150147" role="paragraph" l10n="U" oldref="105"><ahelp hid="HID_FUNC_LAENGE">Returns the length of a string including spaces.</ahelp></paragraph>
336cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3155108" role="heading" level="3" l10n="U"
337cdf0e10cSrcweir                    oldref="106">Syntax</paragraph>
338cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154063" role="code" l10n="U" oldref="107">LEN("Text")</paragraph>
339cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3146894" role="paragraph" l10n="U" oldref="108">
340cdf0e10cSrcweir            <emph>Text</emph> is the text whose length is to be determined.</paragraph>
341cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3153884" role="heading" level="3" l10n="U"
342cdf0e10cSrcweir                    oldref="109">Example</paragraph>
343cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156008" role="paragraph" l10n="U" oldref="110">
344cdf0e10cSrcweir            <item type="input">=LEN("Good Afternoon")</item> returns 14.</paragraph>
345cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154300" role="paragraph" l10n="U" oldref="111">
346cdf0e10cSrcweir            <item type="input">=LEN(12345.67)</item> returns 8.</paragraph>
347cdf0e10cSrcweir      </section>
348cdf0e10cSrcweir      <section id="lower">
349cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153983"><bookmark_value>LOWER function</bookmark_value>
350cdf0e10cSrcweir</bookmark>
351cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KLEIN" id="bm_id3151173" localize="false"/>
352cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153983" role="heading" level="2" l10n="U"
353cdf0e10cSrcweir                    oldref="87">LOWER</paragraph>
354cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3152791" role="paragraph" l10n="U" oldref="88"><ahelp hid="HID_FUNC_KLEIN">Converts all uppercase letters in a text string to lowercase.</ahelp></paragraph>
355cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3155902" role="heading" level="3" l10n="U"
356cdf0e10cSrcweir                    oldref="89">Syntax</paragraph>
357cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150121" role="code" l10n="U" oldref="90">LOWER("Text")</paragraph>
358cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153910" role="paragraph" l10n="U" oldref="91">
359cdf0e10cSrcweir            <emph>Text</emph> refers to the text to be converted.</paragraph>
360cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3159343" role="heading" level="3" l10n="U"
361cdf0e10cSrcweir                    oldref="92">Example</paragraph>
362cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155329" role="paragraph" l10n="U" oldref="93">
363cdf0e10cSrcweir            <item type="input">=LOWER("Sun")</item> returns sun.</paragraph>
364cdf0e10cSrcweir      </section>
365cdf0e10cSrcweir      <section id="mid">
366cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154589"><bookmark_value>MID function</bookmark_value>
367cdf0e10cSrcweir</bookmark>
368cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TEIL" id="bm_id3155392" localize="false"/>
369cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154589" role="heading" level="2" l10n="U"
370cdf0e10cSrcweir                    oldref="148">MID</paragraph>
371cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154938" role="paragraph" l10n="CHG" oldref="149"><ahelp hid="HID_FUNC_TEIL">Returns a text string of a text. The parameters specify the starting position and the number of characters.</ahelp></paragraph>
372cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3148829" role="heading" level="3" l10n="U"
373cdf0e10cSrcweir                    oldref="150">Syntax</paragraph>
374cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150526" role="code" l10n="U" oldref="151">MID("Text"; Start; Number)</paragraph>
375cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148820" role="paragraph" l10n="U" oldref="152">
376cdf0e10cSrcweir            <emph>Text</emph> is the text containing the characters to extract.</paragraph>
377cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150774" role="paragraph" l10n="U" oldref="153">
378cdf0e10cSrcweir            <emph>Start</emph> is the position of the first character in the text to extract.</paragraph>
379cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153063" role="paragraph" l10n="U" oldref="154">
380cdf0e10cSrcweir            <emph>Number</emph> specifies the number of characters in the part of the text.</paragraph>
381cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3150509" role="heading" level="3" l10n="U"
382cdf0e10cSrcweir                    oldref="155">Example</paragraph>
383cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3158407" role="paragraph" l10n="U" oldref="156">
384cdf0e10cSrcweir            <item type="input">=MID("office";2;2)</item> returns ff.</paragraph>
385cdf0e10cSrcweir      </section>
386cdf0e10cSrcweir      <section id="proper">
387cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3159143"><bookmark_value>PROPER function</bookmark_value>
388cdf0e10cSrcweir</bookmark>
389cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GROSS2" id="bm_id3154897" localize="false"/>
390cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3159143" role="heading" level="2" l10n="U"
391cdf0e10cSrcweir                    oldref="70">PROPER</paragraph>
392cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149768" role="paragraph" l10n="U" oldref="71"><ahelp hid="HID_FUNC_GROSS2">Capitalizes the first letter in all words of a text string.</ahelp></paragraph>
393cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3153573" role="heading" level="3" l10n="U"
394cdf0e10cSrcweir                    oldref="72">Syntax</paragraph>
395cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154260" role="code" l10n="U" oldref="73">PROPER("Text")</paragraph>
396cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147509" role="paragraph" l10n="U" oldref="74">
397cdf0e10cSrcweir            <emph>Text</emph> refers to the text to be converted.</paragraph>
398cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3147529" role="heading" level="3" l10n="U"
399cdf0e10cSrcweir                    oldref="75">Example</paragraph>
400cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155364" role="paragraph" l10n="U" oldref="76">
401cdf0e10cSrcweir            <item type="input">=PROPER("open office")</item> returns Open Office.</paragraph>
402cdf0e10cSrcweir      </section>
403cdf0e10cSrcweir      <section id="replace">
404cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149171"><bookmark_value>REPLACE function</bookmark_value>
405cdf0e10cSrcweir</bookmark>
406cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ERSETZEN" id="bm_id3149990" localize="false"/>
407cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149171" role="heading" level="2" l10n="U"
408cdf0e10cSrcweir                    oldref="22">REPLACE</paragraph>
409cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148925" role="paragraph" l10n="U" oldref="23"><ahelp hid="HID_FUNC_ERSETZEN">Replaces part of a text string with a different text string.</ahelp> This function can be used to replace both characters and numbers (which are automatically converted to text). The result of the function is always displayed as text. If you intend to perform further calculations with a number which has been replaced by text, you will need to convert it back to a number using the <link href="text/scalc/01/04060110.xhp" name="VALUE">VALUE</link> function.</paragraph>
410cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3158426" role="paragraph" l10n="U" oldref="24">Any text containing numbers must be enclosed in quotation marks if you do not want it to be interpreted as a number and automatically converted to text.</paragraph>
411cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3149159" role="heading" level="3" l10n="U"
412cdf0e10cSrcweir                    oldref="25">Syntax</paragraph>
413cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147286" role="code" l10n="U" oldref="26">REPLACE("Text"; Position; Length; "NewText")</paragraph>
414cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149797" role="paragraph" l10n="U" oldref="27">
415cdf0e10cSrcweir            <emph>Text</emph> refers to text of which a part will be replaced.</paragraph>
416cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3166451" role="paragraph" l10n="U" oldref="28">
417cdf0e10cSrcweir            <emph>Position</emph> refers to the position within the text where the replacement will begin.</paragraph>
418cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156040" role="paragraph" l10n="U" oldref="29">
419cdf0e10cSrcweir            <emph>Length</emph> is the number of characters in <emph>Text</emph> to be replaced.</paragraph>
420cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3159188" role="paragraph" l10n="U" oldref="30">
421cdf0e10cSrcweir            <emph>NewText</emph> refers to the text which replaces <emph>Text</emph>.</paragraph>
422cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3146958" role="heading" level="3" l10n="U"
423cdf0e10cSrcweir                    oldref="31">Example</paragraph>
424cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154096" role="paragraph" l10n="U" oldref="32">
425cdf0e10cSrcweir            <item type="input">=REPLACE("1234567";1;1;"444")</item> returns "444234567". One character at position 1 is replaced by the complete <item type="literal">NewText</item>.</paragraph>
426cdf0e10cSrcweir      </section>
427cdf0e10cSrcweir      <section id="rept">
428cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149741"><bookmark_value>REPT function</bookmark_value>
429cdf0e10cSrcweir</bookmark>
430cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WIEDERHOLEN" id="bm_id3155582" localize="false"/>
431cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149741" role="heading" level="2" l10n="U"
432cdf0e10cSrcweir                    oldref="193">REPT</paragraph>
433cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153748" role="paragraph" l10n="U" oldref="194"><ahelp hid="HID_FUNC_WIEDERHOLEN">Repeats a character string by the given <emph>number</emph> of copies.</ahelp></paragraph>
434cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3152884" role="heading" level="3" l10n="U"
435cdf0e10cSrcweir                    oldref="195">Syntax</paragraph>
436cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150494" role="code" l10n="U" oldref="196">REPT("Text"; Number)</paragraph>
437cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154859" role="paragraph" l10n="U" oldref="197">
438cdf0e10cSrcweir            <emph>Text</emph> is the text to be repeated.</paragraph>
439cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150638" role="paragraph" l10n="U" oldref="198">
440cdf0e10cSrcweir            <emph>Number</emph> is the number of repetitions.</paragraph>
441cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149922" role="paragraph" l10n="U" oldref="212">The result can be a maximum of 255 characters.</paragraph>
442cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3156213" role="heading" level="3" l10n="U"
443cdf0e10cSrcweir                    oldref="199">Example</paragraph>
444cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148626" role="paragraph" l10n="U" oldref="200">
445cdf0e10cSrcweir            <item type="input">=REPT("Good morning";2)</item> returns Good morningGood morning.</paragraph>
446cdf0e10cSrcweir      </section>
447cdf0e10cSrcweir      <section id="right">
448cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149805"><bookmark_value>RIGHT function</bookmark_value>
449cdf0e10cSrcweir</bookmark>
450cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RECHTS" id="bm_id3154602" localize="false"/>
451cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149805" role="heading" level="2" l10n="U"
452cdf0e10cSrcweir                    oldref="113">RIGHT</paragraph>
453cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3145375" role="paragraph" l10n="CHG" oldref="114"><ahelp hid="HID_FUNC_RECHTS">Returns the last character or characters of a text.</ahelp></paragraph>
454cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3150837" role="heading" level="3" l10n="U"
455cdf0e10cSrcweir                    oldref="115">Syntax</paragraph>
456cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154344" role="code" l10n="U" oldref="116">RIGHT("Text"; Number)</paragraph>
457cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149426" role="paragraph" l10n="U" oldref="117">
458cdf0e10cSrcweir            <emph>Text</emph> is the text of which the right part is to be determined.</paragraph>
459cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153350" role="paragraph" l10n="U" oldref="118">
460cdf0e10cSrcweir            <emph>Number</emph> (optional) is the number of characters from the right part of the text.</paragraph>
461cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3148661" role="heading" level="3" l10n="U"
462cdf0e10cSrcweir                    oldref="119">Example</paragraph>
463cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151132" role="paragraph" l10n="U" oldref="120">
464cdf0e10cSrcweir            <item type="input">=RIGHT("Sun";2)</item> returns un.</paragraph>
465cdf0e10cSrcweir      </section>
466cdf0e10cSrcweir      <section id="roman">
467cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153534"><bookmark_value>ROMAN function</bookmark_value>
468cdf0e10cSrcweir</bookmark>
469cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ROEMISCH" id="bm_id3144755" localize="false"/>
470cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153534" role="heading" level="2" l10n="U"
471cdf0e10cSrcweir                    oldref="248">ROMAN</paragraph>
472cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151256" role="paragraph" l10n="U" oldref="249"><ahelp hid="HID_FUNC_ROEMISCH">Converts a number into a Roman numeral. The value range must be between 0 and 3999, the modes can be integers from 0 to 4.</ahelp></paragraph>
473cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3149299" role="heading" level="3" l10n="U"
474cdf0e10cSrcweir                    oldref="250">Syntax</paragraph>
475cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150593" role="code" l10n="U" oldref="251">ROMAN(Number; Mode)</paragraph>
476cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156139" role="paragraph" l10n="U" oldref="252">
477cdf0e10cSrcweir            <emph>Number</emph> is the number that is to be converted into a Roman numeral.</paragraph>
478cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153318" role="paragraph" l10n="U" oldref="253">
479cdf0e10cSrcweir            <emph>Mode</emph> (optional) indicates the degree of simplification. The higher the value, the greater is the simplification of the Roman number.</paragraph>
480cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3145306" role="heading" level="3" l10n="U"
481cdf0e10cSrcweir                    oldref="254">Example</paragraph>
482cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151371" role="paragraph" l10n="U" oldref="255">
483cdf0e10cSrcweir            <item type="input">=ROMAN(999)</item> returns CMXCIX</paragraph>
484cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153938" role="paragraph" l10n="U" oldref="256">
485cdf0e10cSrcweir            <item type="input">=ROMAN(999;0)</item> returns CMXCIX</paragraph>
486cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148412" role="paragraph" l10n="U" oldref="257">
487cdf0e10cSrcweir            <item type="input">=ROMAN (999;1)</item> returns LMVLIV</paragraph>
488cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155421" role="paragraph" l10n="U" oldref="258">
489cdf0e10cSrcweir            <item type="input">=ROMAN(999;2)</item> returns XMIX</paragraph>
490cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149235" role="paragraph" l10n="U" oldref="259">
491cdf0e10cSrcweir            <item type="input">=ROMAN(999;3)</item> returns VMIV</paragraph>
492cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150624" role="paragraph" l10n="U" oldref="260">
493cdf0e10cSrcweir            <item type="input">=ROMAN(999;4)</item> returns IM</paragraph>
494cdf0e10cSrcweir      </section>
495cdf0e10cSrcweir      <section id="search">
496cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3151005"><bookmark_value>SEARCH function</bookmark_value>
497cdf0e10cSrcweir</bookmark>
498cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUCHEN" id="bm_id3149484" localize="false"/>
499cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3151005" role="heading" level="2" l10n="U"
500cdf0e10cSrcweir                    oldref="122">SEARCH</paragraph>
501cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148692" role="paragraph" l10n="U" oldref="123"><ahelp hid="HID_FUNC_SUCHEN">Returns the position of a text segment within a character string.</ahelp> You can set the start of the search as an option. The search text can be a number or any sequence of characters. The search is not case-sensitive.</paragraph>
502cdf0e10cSrcweir         <embed href="text/shared/00/00000001.xhp#regulaer"/>
503cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3152964" role="heading" level="3" l10n="U"
504cdf0e10cSrcweir                    oldref="124">Syntax</paragraph>
505cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154671" role="code" l10n="U" oldref="125">SEARCH("FindText"; "Text"; Position)</paragraph>
506cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3146080" role="paragraph" l10n="U" oldref="126">
507cdf0e10cSrcweir            <emph>FindText</emph> is the text to be searched for.</paragraph>
508cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154111" role="paragraph" l10n="U" oldref="127">
509cdf0e10cSrcweir            <emph>Text</emph> is the text where the search will take place.</paragraph>
510cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3149559" role="paragraph" l10n="U" oldref="128">
511cdf0e10cSrcweir            <emph>Position</emph> (optional) is the position in the text where the search is to start.</paragraph>
512cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3147322" role="heading" level="3" l10n="U"
513cdf0e10cSrcweir                    oldref="129">Example</paragraph>
514cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154564" role="paragraph" l10n="U" oldref="130">
515cdf0e10cSrcweir            <item type="input">=SEARCH(54;998877665544)</item> returns 10.</paragraph>
516cdf0e10cSrcweir      </section>
517cdf0e10cSrcweir      <section id="substitute">
518cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154830"><bookmark_value>SUBSTITUTE function</bookmark_value>
519cdf0e10cSrcweir</bookmark>
520cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WECHSELN" id="bm_id3147090" localize="false"/>
521cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154830" role="heading" level="2" l10n="U"
522cdf0e10cSrcweir                    oldref="174">SUBSTITUTE</paragraph>
523cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153698" role="paragraph" l10n="U" oldref="175"><ahelp hid="HID_FUNC_WECHSELN">Substitutes new text for old text in a string.</ahelp></paragraph>
524cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3150994" role="heading" level="3" l10n="U"
525cdf0e10cSrcweir                    oldref="176">Syntax</paragraph>
526cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147582" role="code" l10n="U" oldref="177">SUBSTITUTE("Text"; "SearchText"; "NewText"; Occurrence)</paragraph>
527cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153675" role="paragraph" l10n="U" oldref="178">
528cdf0e10cSrcweir            <emph>Text</emph> is the text in which text segments are to be exchanged.</paragraph>
529cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156155" role="paragraph" l10n="U" oldref="179">
530cdf0e10cSrcweir            <emph>SearchText </emph>is the text segment that is to be replaced (a number of times).</paragraph>
531cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3145779" role="paragraph" l10n="U" oldref="180">
532cdf0e10cSrcweir            <emph>NewText</emph> is the text that is to replace the text segment.</paragraph>
533cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150348" role="paragraph" l10n="CHG" oldref="181">
534cdf0e10cSrcweir            <emph>Occurrence</emph> (optional) indicates which occurrence of the search text is to be replaced. If this parameter is missing the search text is replaced throughout.</paragraph>
535cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3150946" role="heading" level="3" l10n="U"
536cdf0e10cSrcweir                    oldref="182">Example</paragraph>
537cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150412" role="paragraph" l10n="U" oldref="183">
538cdf0e10cSrcweir            <item type="input">=SUBSTITUTE("123123123";"3";"abc")</item> returns 12abc12abc12abc.</paragraph>
539cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154915" role="paragraph" l10n="U" oldref="238">
540cdf0e10cSrcweir            <item type="input">=SUBSTITUTE("123123123";"3";"abc";2)</item> returns 12312abc123.</paragraph>
541cdf0e10cSrcweir      </section>
542cdf0e10cSrcweir      <section id="t">
543cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3148977"><bookmark_value>T function</bookmark_value>
544cdf0e10cSrcweir</bookmark>
545cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_T" id="bm_id3156051" localize="false"/>
546cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148977" role="heading" level="2" l10n="U"
547cdf0e10cSrcweir                    oldref="140">T</paragraph>
548cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154359" role="paragraph" l10n="CHG" oldref="141"><ahelp hid="HID_FUNC_T">This function returns the target text, or a blank text string if the target is not text.</ahelp></paragraph>
549cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3155858" role="heading" level="3" l10n="U"
550cdf0e10cSrcweir                    oldref="142">Syntax</paragraph>
551cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3155871" role="code" l10n="U" oldref="143">T(Value)</paragraph>
552cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3154726" role="paragraph" l10n="CHG" oldref="144">If <emph>Value</emph> is a text string or refers to a text string, T returns that text string; otherwise it returns a blank text string.</paragraph>
553cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3155544" role="heading" level="3" l10n="U"
554cdf0e10cSrcweir                    oldref="145">Example</paragraph>
555cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151062" role="paragraph" l10n="CHG" oldref="146">
556cdf0e10cSrcweir            <item type="input">=T(12345)</item> returns an empty string. </paragraph>
557cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id4650105" role="paragraph" l10n="NEW">
558cdf0e10cSrcweir            <item type="input">=T("12345")</item> returns the string 12345.</paragraph>
559cdf0e10cSrcweir      </section>
560cdf0e10cSrcweir      <section id="text">
561cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3147132"><bookmark_value>TEXT function</bookmark_value>
562cdf0e10cSrcweir</bookmark>
563cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TEXT" id="bm_id3156426" localize="false"/>
564cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147132" role="heading" level="2" l10n="U"
565cdf0e10cSrcweir                    oldref="158">TEXT</paragraph>
566cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147213" role="paragraph" l10n="U" oldref="159"><ahelp hid="HID_FUNC_TEXT">Converts a number into text according to a given format.</ahelp></paragraph>
567cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3153129" role="heading" level="3" l10n="U"
568cdf0e10cSrcweir                    oldref="160">Syntax</paragraph>
569cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147377" role="code" l10n="U" oldref="161">TEXT(Number; Format)</paragraph>
570cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3147389" role="paragraph" l10n="U" oldref="162">
571cdf0e10cSrcweir            <emph>Number</emph> is the numerical value to be converted.</paragraph>
572cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156167" role="paragraph" l10n="U" oldref="163">
573cdf0e10cSrcweir            <emph>Format</emph> is the text which defines the format. Use decimal and thousands separators according to the language set in the cell format.</paragraph>
574cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id1243629" role="heading" level="3" l10n="NEW">Example</paragraph>
575cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id9044770" role="paragraph" l10n="NEW">
576cdf0e10cSrcweir            <item type="input">=TEXT(12.34567;"###.##")</item> returns the text 12.35</paragraph>
577cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3674123" role="paragraph" l10n="NEW">
578cdf0e10cSrcweir            <item type="input">=TEXT(12.34567;"000.00")</item> returns the text 012.35</paragraph>
579cdf0e10cSrcweir      </section>
580cdf0e10cSrcweir      <section id="trim">
581cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3151039"><bookmark_value>TRIM function</bookmark_value>
582cdf0e10cSrcweir</bookmark>
583cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GLAETTEN" id="bm_id3150584" localize="false"/>
584cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3151039" role="heading" level="2" l10n="U"
585cdf0e10cSrcweir                    oldref="54">TRIM</paragraph>
586cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3157888" role="paragraph" l10n="CHG" oldref="55"><ahelp hid="HID_FUNC_GLAETTEN">Removes spaces from a string, leaving only a single space character between words.</ahelp></paragraph>
587cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3152913" role="heading" level="3" l10n="U"
588cdf0e10cSrcweir                    oldref="56">Syntax</paragraph>
589cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151349" role="code" l10n="U" oldref="57">TRIM("Text")</paragraph>
590cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151362" role="paragraph" l10n="CHG" oldref="58">
591cdf0e10cSrcweir            <emph>Text</emph> refers to text in which spaces are removed.</paragraph>
592cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3146838" role="heading" level="3" l10n="U"
593cdf0e10cSrcweir                    oldref="59">Example</paragraph>
594cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3156074" role="paragraph" l10n="U" oldref="60">
595cdf0e10cSrcweir            <item type="input">=TRIM("hello")</item> returns hello.</paragraph>
596cdf0e10cSrcweir      </section>
597cdf0e10cSrcweir      <section id="unichar">
598cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UNICHAR" id="bm_id0907200904004674" localize="false"/>
599cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id0907200904030935"><bookmark_value>UNICHAR function</bookmark_value>
600cdf0e10cSrcweir</bookmark>
601cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id0907200904022525" role="heading" level="2" l10n="NEW">UNICHAR</paragraph>
602cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id0907200904022538" role="paragraph" l10n="NEW"><ahelp hid=".">Converts a code number into a Unicode character or letter.</ahelp></paragraph>
603cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id0907200904123753" role="heading" level="3" l10n="NEW">Syntax</paragraph>
604cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id0907200904123753" role="paragraph" l10n="NEW">UNICHAR(number)</paragraph>
605cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id0907200904123720" role="heading" level="3" l10n="NEW">Example</paragraph>
606cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id090720090412378" role="paragraph" l10n="NEW">=UNICHAR(169) returns the Copyright character <emph>©</emph>.</paragraph>
607cdf0e10cSrcweir      </section>
608cdf0e10cSrcweir      <section id="unicode">
609cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UNICODE" id="bm_id0907200904011330" localize="false"/>
610cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id0907200904033543"><bookmark_value>UNICODE function</bookmark_value>
611cdf0e10cSrcweir</bookmark>
612cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id0907200904022588" role="heading" level="2" l10n="NEW">UNICODE</paragraph>
613cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id0907200904022594" role="paragraph" l10n="NEW"><ahelp hid=".">Returns the numeric code for the first Unicode character in a text string.</ahelp></paragraph>
614cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id0907200904123874" role="heading" level="3" l10n="NEW">Syntax</paragraph>
615cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id0907200904123846" role="paragraph" l10n="NEW">UNICODE("Text")</paragraph>
616cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id0907200904123899" role="heading" level="3" l10n="NEW">Example</paragraph>
617cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id0907200904123919" role="paragraph" l10n="NEW">=UNICODE("©") returns the Unicode number 169 for the Copyright character.</paragraph>
618cdf0e10cSrcweir      </section>
619cdf0e10cSrcweir      <section id="upper">
620cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145178"><bookmark_value>UPPER function</bookmark_value>
621cdf0e10cSrcweir</bookmark>
622cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GROSS" id="bm_id3145189" localize="false"/>
623cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145178" role="heading" level="2" l10n="U"
624cdf0e10cSrcweir                    oldref="62">UPPER</paragraph>
625cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3162905" role="paragraph" l10n="U" oldref="63"><ahelp hid="HID_FUNC_GROSS">Converts the string specified in the <emph>text</emph> field to uppercase.</ahelp></paragraph>
626cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3148526" role="heading" level="3" l10n="U"
627cdf0e10cSrcweir                    oldref="64">Syntax</paragraph>
628cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148539" role="code" l10n="U" oldref="65">UPPER("Text")</paragraph>
629cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148496" role="paragraph" l10n="U" oldref="66">
630cdf0e10cSrcweir            <emph>Text</emph> refers to the lower case letters you want to convert to upper case.</paragraph>
631cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3148516" role="heading" level="3" l10n="U"
632cdf0e10cSrcweir                    oldref="67">Example</paragraph>
633cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3146757" role="paragraph" l10n="U" oldref="68">
634cdf0e10cSrcweir            <item type="input">=UPPER("Good Morning")</item> returns GOOD MORNING.</paragraph>
635cdf0e10cSrcweir      </section>
636cdf0e10cSrcweir      <section id="value">
637cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3150802"><bookmark_value>VALUE function</bookmark_value>
638cdf0e10cSrcweir</bookmark>
639cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WERT" id="bm_id3150814" localize="false"/>
640cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150802" role="heading" level="2" l10n="U"
641cdf0e10cSrcweir                    oldref="185">VALUE</paragraph>
642cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3152551" role="paragraph" l10n="U" oldref="186"><ahelp hid="HID_FUNC_WERT">Converts a text string into a number.</ahelp></paragraph>
643cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3152568" role="heading" level="3" l10n="U"
644cdf0e10cSrcweir                    oldref="187">Syntax</paragraph>
645cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153638" role="code" l10n="U" oldref="188">VALUE("Text")</paragraph>
646cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153651" role="paragraph" l10n="U" oldref="189">
647cdf0e10cSrcweir            <emph>Text</emph> is the text to be converted to a number.</paragraph>
648cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="hd_id3144719" role="heading" level="3" l10n="U"
649cdf0e10cSrcweir                    oldref="190">Example</paragraph>
650cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3144733" role="paragraph" l10n="U" oldref="191">
651cdf0e10cSrcweir            <item type="input">=VALUE("4321")</item> returns 4321.</paragraph>
652cdf0e10cSrcweir      </section>
653cdf0e10cSrcweir</sort>
654cdf0e10cSrcweir<section id="relatedtopics">
655cdf0e10cSrcweir         <embed href="text/scalc/01/04060100.xhp#drking"/>
656cdf0e10cSrcweir      </section>
657cdf0e10cSrcweir   </body>
658cdf0e10cSrcweir</helpdocument>