~ubuntu-branches/ubuntu/edgy/koffice/edgy-updates

« back to all changes in this revision

Viewing changes to kspread/extensions/text.xml

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040509113300-xi5t1z4yxe7n03x7
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE KSpreadFunctions>
 
2
<KSpreadFunctions>
 
3
 
 
4
  <Group>
 
5
    <GroupName>Text</GroupName>
 
6
 
 
7
    <Function>
 
8
      <Name>DOLLAR</Name>
 
9
      <Type>String</Type>
 
10
      <Parameter>
 
11
        <Comment>Number</Comment>
 
12
        <Type>Double</Type>
 
13
      </Parameter>
 
14
      <Parameter optional="true">
 
15
        <Comment>Decimals</Comment>
 
16
        <Type>Int</Type>
 
17
      </Parameter>
 
18
      <Help>
 
19
        <Text>The DOLLAR() function converts a number to text using currency format, with the decimals rounded to the specified place. Although the name is DOLLAR, this function will do the conversion according to the current locale.</Text>
 
20
        <Syntax>DOLLAR(number;decimals)</Syntax>
 
21
        <Example>DOLLAR(1403.77) returns "$ 1,403.77"</Example>
 
22
        <Example>DOLLAR(-0.123;4) returns "$-0.1230"</Example>
 
23
      </Help>
 
24
    </Function>
 
25
 
 
26
    <Function>
 
27
      <Name>FIXED</Name>
 
28
      <Type>String</Type>
 
29
      <Parameter>
 
30
        <Comment>Number</Comment>
 
31
        <Type>Double</Type>
 
32
      </Parameter>
 
33
      <Parameter optional="true">
 
34
        <Comment>Decimals</Comment>
 
35
        <Type>Int</Type>
 
36
      </Parameter>
 
37
      <Parameter optional="true">
 
38
        <Comment>No_commas</Comment>
 
39
        <Type>Bool</Type>
 
40
      </Parameter>
 
41
      <Help>
 
42
        <Text>The FIXED() function rounds a number to the specified number of decimals, formats the number in decimal format string, and returns the result as text. If decimals is negative, number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2. If optional parameter no_commas is True, thousand separators will not show up.</Text>
 
43
        <Syntax>FIXED(number;decimals;no_commas)</Syntax>
 
44
        <Example>FIXED(1234.567;1) returns "1,234.6"</Example>
 
45
        <Example>FIXED(1234.567;1;FALSE) returns "1234.6"</Example>
 
46
        <Example>FIXED(44.332) returns "44.33"</Example>
 
47
      </Help>
 
48
    </Function>
 
49
 
 
50
    <Function>
 
51
      <Name>SUBSTITUTE</Name>
 
52
      <Type>String</Type>
 
53
      <Parameter>
 
54
        <Comment>Text for which you want to substitute</Comment>
 
55
        <Type>String</Type>
 
56
      </Parameter>
 
57
      <Parameter>
 
58
        <Comment>Part of text you want to replace</Comment>
 
59
        <Type>String</Type>
 
60
      </Parameter>
 
61
      <Parameter>
 
62
        <Comment>New text which will be replacement</Comment>
 
63
        <Type>String</Type>
 
64
      </Parameter>
 
65
      <Parameter optional="true">
 
66
        <Comment>Occurrence of replacement</Comment>
 
67
        <Type>Int</Type>
 
68
      </Parameter>
 
69
      <Help>
 
70
        <Text>The SUBSTITUTE() substitutes new_text for old_text in a text string. If instance_num is specified, only that instance of old_text is replaced. Otherwise, every occurrence of old_text is changed to new_text. Use SUBSTITUTE when you want to replace specific text, use REPLACE when you want to replace any text that occurs in a specific location.</Text>
 
71
        <Syntax>SUBSTITUTE(text; old_text; new_text; instance_num)</Syntax>
 
72
        <Example>SUBSTITUTE("Cost Data";"Cost";"Sales") returns "Sales Data"</Example>
 
73
        <Example>SUBSTITUTE("Qtr 1, 2001";"1";"3";1) returns "Qtr 3, 2001"</Example>
 
74
        <Example>SUBSTITUTE("Qtr 1, 2001";"1";"3";4) returns "Qtr 3, 2003"</Example>
 
75
        <Related>REPLACE</Related>
 
76
        <Related>FIND</Related>
 
77
      </Help>
 
78
    </Function>
 
79
 
 
80
    <Function>
 
81
      <Name>SEARCH</Name>
 
82
      <Type>Int</Type>
 
83
      <Parameter>
 
84
        <Comment>The text you want to find</Comment>
 
85
        <Type>String</Type>
 
86
      </Parameter>
 
87
      <Parameter>
 
88
        <Comment>The text which may contain find_text</Comment>
 
89
        <Type>String</Type>
 
90
      </Parameter>
 
91
      <Parameter>
 
92
        <Comment>Specified index to start the search</Comment>
 
93
        <Type>Int</Type>
 
94
      </Parameter>
 
95
      <Help>
 
96
        <Text>The SEARCH() function finds one text string (find_text) within another text string (within_text) and returns the number of the starting point of find_text, from the leftmost character of within_text.</Text>
 
97
        <Text>You can use wildcard characters, question mark (?) and asterisk (*). A question mark matches any single character, an asterisk matches any sequences of characters.</Text>
 
98
        <Text>Parameter start_num specifies the character at which to start the search. The first character is character number 1. If start_num is omitted, it is assumed to be 1. SEARCH does not distinguish between uppercase and lowercase letters.
 
99
</Text>
 
100
        <Syntax>SEARCH(find_text;within_text;start_num)</Syntax>
 
101
        <Example>SEARCH("e";"Statements";6) returns 7</Example>
 
102
        <Example>SEARCH("margin";"Profit Margin") returns 8</Example>
 
103
        <Related>FIND</Related>
 
104
      </Help>
 
105
    </Function>
 
106
 
 
107
    <Function>
 
108
      <Name>T</Name>
 
109
      <Type>String</Type>
 
110
      <Parameter>
 
111
        <Comment>Value</Comment>
 
112
        <Type>Any</Type>
 
113
      </Parameter>
 
114
      <Help>
 
115
      <Text>The T() function returns the text referred to by value. If value is, or refers to, text then T returns value. If value does not refer to text then T returns empty text.</Text>
 
116
        <Syntax>T(value)</Syntax>
 
117
        <Example>T("KOffice") returns "KOffice"</Example>
 
118
        <Example>T(1.2) returns "" (empty text)</Example>
 
119
      </Help>
 
120
    </Function>
 
121
 
 
122
    <Function>
 
123
      <Name>TEXT</Name>
 
124
      <Type>String</Type>
 
125
      <Parameter>
 
126
        <Comment>Value</Comment>
 
127
        <Type>Any</Type>
 
128
      </Parameter>
 
129
      <Help>
 
130
        <Text>The TEXT() function converts a value to text.</Text>
 
131
        <Syntax>TEXT(value)</Syntax>
 
132
        <Example>TEXT(1234.56) returns "1234.56"</Example>
 
133
        <Example>TEXT("KSpread") returns "KSpread"</Example>
 
134
      </Help>
 
135
    </Function>
 
136
 
 
137
    <Function>
 
138
      <Name>PROPER</Name>
 
139
      <Type>String</Type>
 
140
      <Parameter>
 
141
        <Comment>String</Comment>
 
142
        <Type>String</Type>
 
143
      </Parameter>
 
144
      <Help>
 
145
        <Text>The PROPER() function converts the first letter of each word to uppercase and the rest of the letters to lowercase.</Text>
 
146
        <Syntax>PROPER(string)</Syntax>
 
147
        <Example>PROPER("this is a title") returns "This Is A Title"</Example>
 
148
      </Help>
 
149
    </Function>
 
150
 
 
151
    <Function>
 
152
      <Name>COMPARE</Name>
 
153
      <Type>Int</Type>
 
154
      <Parameter>
 
155
        <Comment>First string</Comment>
 
156
        <Type>String</Type>
 
157
      </Parameter>
 
158
      <Parameter>
 
159
        <Comment>String to compare with</Comment>
 
160
        <Type>String</Type>
 
161
      </Parameter>
 
162
      <Parameter>
 
163
        <Comment>Compare case-sensitive (true/false)</Comment>
 
164
        <Type>Boolean</Type>
 
165
      </Parameter>
 
166
      <Help>
 
167
              <Text>The COMPARE() function returns 0 if the two strings are equal; -1 if the first one is lower in value than the second one; otherwise it returns 1.</Text>
 
168
        <Syntax>COMPARE(string1; string2; true|false)</Syntax>
 
169
        <Example>COMPARE("KOffice"; "KOffice"; true) returns 0</Example>
 
170
        <Example>COMPARE("koffice"; "KOffice"; true) returns 1</Example>
 
171
        <Example>COMPARE("kspread"; "KOffice"; false) returns 1</Example>
 
172
        <Related>EXACT</Related>
 
173
      </Help>
 
174
    </Function>
 
175
 
 
176
    <Function>
 
177
      <Name>EXACT</Name>
 
178
      <Type>Boolean</Type>
 
179
      <Parameter>
 
180
        <Comment>String</Comment>
 
181
        <Type>String</Type>
 
182
      </Parameter>
 
183
      <Parameter>
 
184
        <Comment>String</Comment>
 
185
        <Type>String</Type>
 
186
      </Parameter>
 
187
      <Help>
 
188
        <Text>The EXACT() function returns True if these two strings are equal. Otherwise, it returns False.</Text>
 
189
        <Syntax>EXACT(string1;string2)</Syntax>
 
190
        <Example>EXACT("KOffice";"KOffice") returns True</Example>
 
191
        <Example>EXACT("KSpread";"KOffice") returns False</Example>
 
192
        <Related>COMPARE</Related>
 
193
      </Help>
 
194
    </Function>
 
195
 
 
196
    <Function>
 
197
      <Name>REPLACE</Name>
 
198
      <Type>String</Type>
 
199
      <Parameter>
 
200
        <Comment>Text which you want to replace some characters</Comment>
 
201
        <Type range="false">String</Type>
 
202
      </Parameter>
 
203
      <Parameter>
 
204
        <Comment>Position of the characters to replace</Comment>
 
205
        <Type>Int</Type>
 
206
      </Parameter>
 
207
      <Parameter>
 
208
        <Comment>Number of characters to replace</Comment>
 
209
        <Type>Int</Type>
 
210
      </Parameter>
 
211
      <Parameter>
 
212
        <Comment>The text that will replace characters in old text</Comment>
 
213
        <Type range="false">String</Type>
 
214
      </Parameter>
 
215
      <Help>
 
216
        <Text>The REPLACE() function replaces part of a text string with a different text string.</Text>
 
217
        <Syntax>REPLACE(text;position;length;new_text)</Syntax>
 
218
        <Example>REPLACE("abcdefghijk";6;5;"-") returns "abcde-k"</Example>
 
219
        <Example>REPLACE("2002";3;2;"03") returns "2003"</Example>
 
220
        <Related>FIND</Related>
 
221
        <Related>MID</Related>
 
222
      </Help>
 
223
    </Function>
 
224
 
 
225
    <Function>
 
226
      <Name>FIND</Name>
 
227
      <Type>Int</Type>
 
228
      <Parameter>
 
229
        <Comment>The text you want to find</Comment>
 
230
        <Type>String</Type>
 
231
      </Parameter>
 
232
      <Parameter>
 
233
        <Comment>The text which may contain find_text</Comment>
 
234
        <Type>String</Type>
 
235
      </Parameter>
 
236
      <Parameter optional="true">
 
237
        <Comment>Specifies index to start the search</Comment>
 
238
        <Type>Int</Type>
 
239
      </Parameter>
 
240
      <Help>
 
241
        <Text>The FIND() function finds one text string (find_text) within another text string (within_text) and returns the number of the starting point of find_text, from the leftmost character of within_text.</Text>
 
242
        <Text>Parameter start_num specifies the character at which to start the search. The first character is character number 1. If start_num is omitted, it is assumed to be 1.</Text>
 
243
        <Text>You can also use function SEARCH, but unlike SEARCH, FIND is case-sensitive and does not allow wildcard characters.</Text>
 
244
        <Syntax>FIND(find_text;within_text;start_num)</Syntax>
 
245
        <Example>FIND("KOf";"KOffice") returns 1</Example>
 
246
        <Example>FIND("i";"KOffice") returns 5</Example>
 
247
        <Example>FIND("K";"KSpread in KOffice";4) returns 12</Example>
 
248
        <Related>SEARCH</Related>
 
249
        <Related>REPLACE</Related>
 
250
      </Help>
 
251
    </Function>
 
252
 
 
253
    <Function>
 
254
      <Name>MID</Name>
 
255
      <Type>String</Type>
 
256
      <Parameter>
 
257
        <Comment>Source string</Comment>
 
258
        <Type>String</Type>
 
259
      </Parameter>
 
260
      <Parameter>
 
261
        <Comment>Position</Comment>
 
262
        <Type>Int</Type>
 
263
      </Parameter>
 
264
      <Parameter optional="true">
 
265
        <Comment>Length</Comment>
 
266
        <Type>Int</Type>
 
267
      </Parameter>
 
268
      <Help>
 
269
        <Text>The MID() function returns a substring that contains 'length' characters of the string, starting at 'position' index.</Text>
 
270
        <Syntax>MID(text;position;length)</Syntax>
 
271
        <Syntax>MID(text;position)</Syntax>
 
272
        <Example>MID("KOffice";2;3) returns "Off"</Example>
 
273
        <Example>MID("KOffice";2) returns "Office"</Example>
 
274
        <Related>LEFT</Related>
 
275
        <Related>RIGHT</Related>
 
276
      </Help>
 
277
    </Function>
 
278
 
 
279
    <Function>
 
280
      <Name>LEN</Name>
 
281
      <Type>Int</Type>
 
282
      <Parameter>
 
283
        <Comment>String</Comment>
 
284
        <Type>String</Type>
 
285
      </Parameter>
 
286
      <Help>
 
287
        <Text>The LEN() function returns the length of the string.</Text>
 
288
        <Syntax>LEN(text)</Syntax>
 
289
        <Example>LEN("hello") returns 5</Example>
 
290
        <Example>LEN("KSpread") returns 7</Example>
 
291
      </Help>
 
292
    </Function>
 
293
 
 
294
    <Function>
 
295
      <Name>TRIM</Name>
 
296
      <Type>String</Type>
 
297
      <Parameter>
 
298
        <Comment>String</Comment>
 
299
        <Type>String</Type>
 
300
      </Parameter>
 
301
      <Help>
 
302
        <Text>The TRIM() function returns text with only single spaces between words.</Text>
 
303
        <Syntax>TRIM(text)</Syntax>
 
304
        <Example>TRIM(" hello    KSpread   ") returns "hello KSpread"</Example>
 
305
      </Help>
 
306
    </Function>
 
307
 
 
308
    <Function>
 
309
      <Name>CONCATENATE</Name>
 
310
      <Type>String</Type>
 
311
      <Parameter optional="true">
 
312
        <Comment>String values</Comment>
 
313
        <Type range="true">String</Type>
 
314
      </Parameter>
 
315
      <Parameter optional="true">
 
316
        <Comment>String values</Comment>
 
317
        <Type range="true">String</Type>
 
318
      </Parameter>
 
319
      <Parameter optional="true">
 
320
        <Comment>String values</Comment>
 
321
        <Type range="true">String</Type>
 
322
      </Parameter>
 
323
      <Parameter optional="true">
 
324
        <Comment>String values</Comment>
 
325
        <Type range="true">String</Type>
 
326
      </Parameter>
 
327
      <Parameter optional="true">
 
328
        <Comment>String values</Comment>
 
329
        <Type range="true">String</Type>
 
330
      </Parameter>
 
331
      <Help>
 
332
        <Text>The CONCATENATE() function returns a string which is the concatenation of the strings passed as parameters.</Text>
 
333
        <Syntax>CONCATENATE(value;value;...)</Syntax>
 
334
        <Example>CONCATENATE("KSpread";"KOffice";"KDE") returns "KSpreadKOfficeKDE"</Example>
 
335
      </Help>
 
336
    </Function>
 
337
 
 
338
    <Function>
 
339
      <Name>JOIN</Name>
 
340
      <Type>String</Type>
 
341
      <Parameter optional="true">
 
342
        <Comment>String values</Comment>
 
343
        <Type range="true">String</Type>
 
344
      </Parameter>
 
345
      <Parameter optional="true">
 
346
        <Comment>String values</Comment>
 
347
        <Type range="true">String</Type>
 
348
      </Parameter>
 
349
      <Parameter optional="true">
 
350
        <Comment>String values</Comment>
 
351
        <Type range="true">String</Type>
 
352
      </Parameter>
 
353
      <Parameter optional="true">
 
354
        <Comment>String values</Comment>
 
355
        <Type range="true">String</Type>
 
356
      </Parameter>
 
357
      <Parameter optional="true">
 
358
        <Comment>String values</Comment>
 
359
        <Type range="true">String</Type>
 
360
      </Parameter>
 
361
      <Help>
 
362
        <Text>The JOIN() function returns a string which is the concatenation of the strings passed as parameters.</Text>
 
363
        <Text>This function is obsolete and will be removed in a later version of KSpread. It is provided only for compatibility. Please use the CONCATENATE function instead.</Text>
 
364
        <Syntax>JOIN(value;value;...)</Syntax>
 
365
        <Example>JOIN("KSpread";"KOffice";"KDE") returns "KSpreadKOfficeKDE"</Example>
 
366
      </Help>
 
367
    </Function>
 
368
 
 
369
    <Function>
 
370
      <Name>RIGHT</Name>
 
371
      <Type>String</Type>
 
372
      <Parameter>
 
373
        <Comment>Source string</Comment>
 
374
        <Type>String</Type>
 
375
      </Parameter>
 
376
      <Parameter>
 
377
        <Comment>Amount of characters</Comment>
 
378
        <Type>Int</Type>
 
379
      </Parameter>
 
380
      <Help>
 
381
        <Text>The RIGHT() function returns a substring that contains the 'length' rightmost characters of the string. The whole string is returned if 'length' exceeds the length of the string.</Text>
 
382
        <Syntax>RIGHT(text;length)</Syntax>
 
383
        <Example>RIGHT("hello";2) returns "lo"</Example>
 
384
        <Example>RIGHT("KSpread";10) returns "KSpread"</Example>
 
385
        <Example>RIGHT("KSpread") returns "d"</Example>
 
386
        <Related>LEFT</Related>
 
387
        <Related>MID</Related>
 
388
      </Help>
 
389
    </Function>
 
390
 
 
391
    <Function>
 
392
      <Name>LEFT</Name>
 
393
      <Type>String</Type>
 
394
      <Parameter>
 
395
        <Comment>Source string</Comment>
 
396
        <Type>String</Type>
 
397
      </Parameter>
 
398
      <Parameter>
 
399
        <Comment>Amount of characters</Comment>
 
400
        <Type>Int</Type>
 
401
      </Parameter>
 
402
      <Help>
 
403
        <Text>The LEFT() function returns a substring that contains the 'length' leftmost characters of the string. The whole string is returned if 'length' exceeds the length of the string.</Text>
 
404
        <Syntax>LEFT(text;length)</Syntax>
 
405
        <Example>LEFT("hello";2) returns "he"</Example>
 
406
        <Example>LEFT("KSpread";10) returns "KSpread"</Example>
 
407
        <Example>LEFT("KSpread") returns "K"</Example>
 
408
        <Related>RIGHT</Related>
 
409
        <Related>MID</Related>
 
410
      </Help>
 
411
    </Function>
 
412
 
 
413
    <Function>
 
414
      <Name>REPT</Name>
 
415
      <Type>String</Type>
 
416
      <Parameter>
 
417
        <Comment>Source string</Comment>
 
418
        <Type>String</Type>
 
419
      </Parameter>
 
420
      <Parameter>
 
421
        <Comment>Count of repetitions</Comment>
 
422
        <Type>Int</Type>
 
423
      </Parameter>
 
424
      <Help>
 
425
        <Text>The REPT() function repeats the first parameter as often as told by the second parameter.</Text>
 
426
        <Syntax>REPT(text;count)</Syntax>
 
427
        <Example>REPT("KSpread";3) returns "KSpreadKSpreadKSpread"</Example>
 
428
      </Help>
 
429
    </Function>
 
430
 
 
431
    <Function>
 
432
      <Name>ROT</Name>
 
433
      <Type>String</Type>
 
434
      <Parameter>
 
435
        <Comment>Text</Comment>
 
436
        <Type>String</Type>
 
437
      </Parameter>
 
438
      <Help>
 
439
        <Text>The ROT() function encrypts text by replacing each letter with the one 13 places along in the alphabet. If the 13th position is beyond the letter Z, it begins again at A (rotation).</Text>
 
440
        <Text>By applying the encryption function again to the resulting text, you can decrypt the text.</Text>
 
441
        <Syntax>ROT(Text)</Syntax>
 
442
        <Example>ROT("KSpread") returns "XFcernq"</Example>
 
443
        <Example>ROT("XFcernq") returns "KSpread"</Example>
 
444
      </Help>
 
445
    </Function>
 
446
 
 
447
    <Function>
 
448
      <Name>TOGGLE</Name>
 
449
      <Type>String</Type>
 
450
      <Parameter>
 
451
        <Comment>Source string</Comment>
 
452
        <Type>String</Type>
 
453
      </Parameter>
 
454
      <Help>
 
455
        <Text>The TOGGLE() function changes lowercase characters to uppercase and uppercase characters to lowercase.</Text>
 
456
        <Syntax>TOGGLE(text)</Syntax>
 
457
        <Example>TOGGLE("hello") returns "HELLO"</Example>
 
458
        <Example>TOGGLE("HELLO") returns "hello"</Example>
 
459
        <Example>TOGGLE("HeLlO") returns "hElLo"</Example>
 
460
        <Related>UPPER</Related>
 
461
        <Related>LOWER</Related>
 
462
      </Help>
 
463
    </Function>
 
464
 
 
465
    <Function>
 
466
      <Name>CLEAN</Name>
 
467
      <Type>String</Type>
 
468
      <Parameter>
 
469
        <Comment>Source string</Comment>
 
470
        <Type>String</Type>
 
471
      </Parameter>
 
472
      <Help>
 
473
        <Text>The CLEAN() function removes every non-printable character from the string</Text>
 
474
        <Syntax>CLEAN(text)</Syntax>
 
475
        <Example>CLEAN(AsciiToChar(7) + "HELLO") returns "HELLO"</Example>
 
476
      </Help>
 
477
    </Function>
 
478
 
 
479
    <Function>
 
480
      <Name>SLEEK</Name>
 
481
      <Type>String</Type>
 
482
      <Parameter>
 
483
        <Comment>Source string</Comment>
 
484
        <Type>String</Type>
 
485
      </Parameter>
 
486
      <Help>
 
487
        <Text>The SLEEK() function removes all spaces from the string.</Text>
 
488
        <Syntax>SLEEK(text)</Syntax>
 
489
        <Example>SLEEK("This is   some  text ") returns "Thisissometext"</Example>
 
490
        <Related>TRIM</Related>
 
491
      </Help>
 
492
    </Function>
 
493
 
 
494
    <Function>
 
495
      <Name>UPPER</Name>
 
496
      <Type>String</Type>
 
497
      <Parameter>
 
498
        <Comment>Source string</Comment>
 
499
        <Type>String</Type>
 
500
      </Parameter>
 
501
      <Help>
 
502
        <Text>The UPPER() function converts a string to upper case.</Text>
 
503
        <Syntax>UPPER(text)</Syntax>
 
504
        <Example>UPPER("hello") returns "HELLO"</Example>
 
505
        <Example>UPPER("HELLO") returns "HELLO"</Example>
 
506
        <Related>LOWER</Related>
 
507
        <Related>TOGGLE</Related>
 
508
      </Help>
 
509
    </Function>
 
510
 
 
511
    <Function>
 
512
      <Name>LOWER</Name>
 
513
      <Type>String</Type>
 
514
      <Parameter>
 
515
        <Comment>Source string</Comment>
 
516
        <Type>String</Type>
 
517
      </Parameter>
 
518
      <Help>
 
519
        <Text>The LOWER() function converts a string to lower case.</Text>
 
520
        <Syntax>LOWER(text)</Syntax>
 
521
        <Example>LOWER("hello") returns "hello"</Example>
 
522
        <Example>LOWER("HELLO") returns "hello"</Example>
 
523
        <Related>UPPER</Related>
 
524
        <Related>TOGGLE</Related>
 
525
      </Help>
 
526
    </Function>
 
527
 
 
528
    <Function>
 
529
      <Name>CHAR</Name>
 
530
      <Type>String</Type>
 
531
      <Parameter>
 
532
        <Comment>Character code</Comment>
 
533
        <Type>Int</Type>
 
534
      </Parameter>
 
535
      <Help>
 
536
        <Text>The CHAR() function returns the character specified by a number.</Text>
 
537
        <Syntax>CHAR(code)</Syntax>
 
538
        <Example>CHAR(65) returns "A"</Example>
 
539
        <Related>CODE</Related>
 
540
      </Help>
 
541
    </Function>
 
542
 
 
543
    <Function>
 
544
      <Name>CODE</Name>
 
545
      <Type>Int</Type>
 
546
      <Parameter>
 
547
        <Comment>Text</Comment>
 
548
        <Type>String</Type>
 
549
      </Parameter>
 
550
      <Help>
 
551
        <Text>The CODE() function returns a numeric code for the first character in a text string.</Text>
 
552
        <Syntax>CODE(text)</Syntax>
 
553
        <Example>CODE("KDE") returns 75</Example>
 
554
        <Related>CHAR</Related>
 
555
      </Help>
 
556
    </Function>
 
557
 
 
558
    <Function>
 
559
      <Name>VALUE</Name>
 
560
      <Type>Double</Type>
 
561
      <Parameter>
 
562
        <Comment>Text</Comment>
 
563
        <Type range="false">String</Type>
 
564
      </Parameter>
 
565
      <Help>  
 
566
        <Text>Converts text string that represents a value to the real value.  </Text> 
 
567
        <Syntax>VALUE(text)</Syntax>
 
568
        <Example>VALUE("14.03") returns 14.03</Example>
 
569
      </Help> 
 
570
    <Function>
 
571
 
 
572
 
 
573
  </Group>
 
574
 
 
575
</KSpreadFunctions>