-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.html
562 lines (486 loc) · 21.9 KB
/
readme.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
<html>
<head>
<style>
body{
background:#FFFFFF;
font-family:times new roman;
font-size:18px;
margin:3px;
margin-bottom:20px;
}
.leftExpand {
border-left:1px solid #000000;
margin-left:10px;
padding-left:10px;
}
.explanation {
padding:12px;
}
#usage {
}
.header {
font-family:courier;
font-size:150%;
font-weight:bold;
}
.functionDefinition {
font-family:courier;
font-size:150%;
}
.example {
display:block;
white-space:pre;
border:2px solid #cecece;
padding:5px;
margin:10px;
font-family:courier;
font-size:11px;
}
.note {
margin:5px;
color:#FF0000;
background:#cecece;
padding:8px;
font-size:80%;
font-style:italic;
}
tt {
font-family:courier;
font-size:80%;
}
a {
font-family:courier;
color:#0000FF;
text-decoration:none;
}
img {
width:900px;
margin:5px;
}
</style>
</head>
<body>
<div class='explanation'>
<div class='header'>textutil</div>
<div class='leftExpand'>
textutil is meant to replace the old Deadron text handler library while providing a little bit more in terms of functionality.
The goal I had when writing this was to make a significantly more efficient text handler using more elegant methods of handling
the text. Ultimately, I don't believe the differences in efficiency are that big of a deal, except for maybe when comparing
<a href='#textutil/replaceText()'>textutil.replaceText()</a> versus <tt>dd_replacetext()</tt> over a few thousand occurrences, and the
real reason to use this library is the "extra" functionality provided on top of what Deadron's already did.
</div>
</div>
<div class='explanation'>
<div class='header'>Important note</div>
<div class='leftExpand'>
Before we get into how to use the functions, an important thing to note is that this library does not use functions defined
within global scope --- that is to say, it doesn't use global functions. Instead, functions are defined on an object (in this case,
the object's type is <tt>/textutil</tt>), and a single instance of the object is placed in the global scope in a variable called
<tt>textutil</tt>.<br/>
<br/>
What this does is essentially separate the global scope from the scope of the library, using the context of the <tt>/textutil</tt>
object defined in the global scope. I pretty much create my own name space for my functions, which allows me to name functions as
I see fit without having to worry about what other libraries might have. In this way, users will simply be calling
<tt>textutil.blah()</tt>, fully aware of the fact that we are calling <tt>textutil</tt>'s, the library's, <tt>blah()</tt> function.<br/>
<!-- <br/>
Another important benefit of this is that you can actually change the library's function within your project. One problem with
the global scope is that, functions defined globally can only be defined once, and cannot be rewritten or redefined later on.
I don't remember the exact justification for this, but it has something to do with the compiler not knowing which one to use...
though that doesn't seem entirely adequate.<br/>
<br/>
Either way, here's an example of global scope functions not accepting redefinitions:
<div class='example'>proc
getnum()
return 1
getnum()
return 2
obj
proc
getnum()
return 1
getnum()
return 2
mob
verb
test()
// will print 1
src << getnum()
// will print 2
var/obj/o = new
src << o.getnum()</div>
<tt>/proc/getnum()</tt> will return 1, despite the redefinition directly afterwards, but <tt>/obj/proc/getnum</tt> will return 2,
since it respects that redefinition.-->
</div>
</div>
<div class='explanation'>
<div class='header'>Using the library</div>
<div class='leftExpand'>
As explained above, you will be accessing all functions using <tt>textutil.<i>functionName</i>()</tt>, not just calling <tt><i>functionName</i>()</tt>. I will leave in-depth explanations of what the functions do to the function definitions (below), and just describe the basic uses of a bunch of the functions here.<br/>
<br/>
<i>Replacing text...</i><br/>
To replace every occurrence of a string within another string, simply call <a href='#textutil/replaceText()'>textutil.replaceText(<i>string</i>, <i>substring</i>, <i>replace</i>)</a>.
<div class='example'>var/string = "I hate cake."
var/fixedString = textutil.replaceText(string, "cake", "things that aren't cake")
// fixedString == "I hate things that aren't cake."</div>
There is a case sensitive version of this function, referred to as <a href='#textutil/replaceTextCase()'>textutil.replaceTextCase(<i>string</i>, <i>substring</i>, <i>replace</i>)</a>.<br/>
<br/>
<i>Converting a string to a list...</i><br/>
To separate a string into list entries, using a certain substring as a delimiter for those entries, simply call
<a href='#textutil/text2list()'>textutil.text2list(<i>string</i>, <i>delimiter</i>)</a>.
<div class='example'>var/string = "This is a test."
var/list/separated = textutil.text2list(string, " ")
// separated = list("This", "is", "a", "test.")</div>
There is a case sensitive version of this function, referred to as <a href='#textutil/text2listCase()'>textutil.text2listCase(<i>string</i>, <i>delimiter</i>)</a>.<br/>
<br/>
<i>Converting a list to a string...</i><br/>
To separate a list into a string, using a certain substring as a delimiter for those entries, simply call
<a href='#textutil/list2text()'>textutil.list2text(<i>list/separated</i>, <i>delimiter</i>)</a>.
<div class='example'>var/list/separated = list("This", "is", "a", "test.")
var/string = textutil.list2text(separated, " ")
// string == "This is a test."</div>
<br/>
<i>Padding a string...</i><br/>
To pad a string to a certain size, you can call <a href='#textutil/padText()'>textutil.padText(<i>string</i>, <i>size</i>, <i>padSide</i>, <i>padCharacter</i>)</a>.
<div class='example'>var/string = "!centered!"
var/padded = textutil.padText(string, 20, textutil.PAD_BOTH, "-")
// padded == "-----!centered!-----"</div>
Valid <tt>padSides</tt> include <tt>textutil.PAD_LEFT</tt> which adds the padding to the left of the string, <tt>textutil.PAD_RIGHT</tt> which adds the padding to the right of the string, and <tt>textutil.PAD_BOTH</tt> which adds half of the padding to each side of the string, effectively centering it.<br/>
<br/>
<i>Autocompleting a string...</i><br/>
To check if a string autocompletes to another, simply call <a href='#textutil/autoComplete()'>textutil.autoComplete(<i>string</i>, <i>match</i>)</a>.
What I mean by "autocompletes to another," "ke" contains the beginning of "keeth," and therefore can be considered autocompletable
to "keeth".
<div class='example'>var/string = "hippopotomostrious"
var/input = "hippo"
var/result = textutil.autoComplete(string, input)
// result == "hippopotomostrious" </div>
<br/>
Those are the basic features of the library that most people will probably use.
The rest of the functions will be demonstrated below.
</div>
<div class='explanation'>
<div class='header'>Functions defined by the library</div>
<sup>Functions preceded by <tt>__</tt> are "private" functions that you aren't expected to access.</sup>
<a name='textutil.getCharacter()'></a>
<div class='functionDefinition'>textutil/getCharacter(<i>string</i>, <i>pos</i>=1)</div>
<div class='leftExpand'>
Retrieves the character in the string at the position.<br/>
<b>Returns the individual character.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "This is a test."
var/result = textutil.getCharacter(string, 6)
// result == "i" </div>
</div>
<br/>
<a name='textutil.isWhitespace()'></a>
<div class='functionDefinition'>textutil/isWhitespace(<i>string</i>, <i>pos</i>=1)</div>
<div class='leftExpand'>
Determine if the character at the given position is whitespace.<br/>
Whitespace is defined as a tab, a linebreak, or a space.<br/>
<b>Returns TRUE if it's whitespace, FALSE otherwise.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "This is a test."
var/result = textutil.isWhitespace(string, 5)
// result == TRUE
result = textutil.isWhitespace(string, 4)
// result == FALSE</div>
</div>
<br/>
<a name='textutil.capitalize()'></a>
<div class='functionDefinition'>textutil/capitalize(<i>string</i>)</div>
<div class='leftExpand'>
Capitalizes the first character of the string given to it.<br/>
<b>Returns the string, capitalized.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "this is a test."
var/result = textutil.capitalize(string)
// result == "This is a test." </div>
</div>
<br/>
<a name='textutil/trimWhitespace()'></a>
<div class='functionDefinition'>textutil/trimWhitespace(<i>string</i>)</div>
<div class='leftExpand'>
Removes the whitespace from the beginning and end of a string.<br/>
<b>Returns the trimmed string.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "\t\t This is a test.\n"
var/result = textutil.trimWhitespace(string)
// result == "This is a test."</div>
</div>
<br/>
<a name='textutil/findNextWhitespace()'></a>
<div class='functionDefinition'>textutil/findNextWhitespace(<i>string</i>, <i>pos</i>=1)</div>
<div class='leftExpand'>
Finds the next occurrence of whitespace, starting at <i>pos</i> within <i>string</i>.<br/>
<b>Returns the location of the next whitespace.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "This is a test."
var/result = textutil.findNextWhitespace(string, 1)
// result == 5</div>
</div>
<br/>
<a name='textutil/findWhich()'></a>
<div class='functionDefinition'>textutil/findWhich(<i>string</i>, <i>sub</i>, <i>which</i>=1)</div>
<sup>Case-sensitive version is called textutil.findWhichCase(<i>string</i>, <i>sub</i>, <i>which</i>=1)</sup>
<div class='leftExpand'>
Finds <i>which</i> occurrence of <i>sub</i> within <i>string</i>.<br/>
<b>Returns the position of the <i>which</i> occurrence of <i>sub</i>.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "abcabc"
var/result = textutil.findWhich(string, "a", 2)
// result == 4 </div>
</div>
<br/>
<a name='textutil/text2list()'></a>
<div class='functionDefinition'>textutil/text2list(<i>string</i>, <i>delimiter</i>=" ")</div>
<sup>Case-sensitive version is called <tt>textutil.text2listCase(<i>string</i>, <i>delimiter</i>=" ")</tt></sup>
<div class='leftExpand'>
Converts a string into a list, using <i>delimiter</i> to separate entries in the string.<br/>
<b>Returns the separated string in list form.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "This is a test."
var/list/result = textutil.text2list(string, " ")
// result == list("This", "is", "a", "test.")</div>
</div>
<br/>
<a name='textutil/list2text()'></a>
<div class='functionDefinition'>textutil/list2text(<i>list/list</i>, <i>delimiter</i>=" ")</div>
<div class='leftExpand'>
Convert the entries from this list into a string, delimiting each entry using the given <i>delimiter</i>.<br/>
<b>Returns the separated list in string form.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/list/list = list("This", "is", "a", "test.")
var/result = textutil.list2text(list, " ")
// result == "This is a test."</div>
</div>
<br/>
<a name='textutil/replaceText()'></a>
<div class='functionDefinition'>textutil/replaceText(<i>string</i>, <i>sub</i>, <i>replace</i>)</div>
<sup>Case-sensitive version is called <tt>textutil.replaceTextCase(<i>string</i>, <i>sub</i>, <i>replace</i>)</tt></sup>
<div class='leftExpand'>
Replaces all occurrences of <i>sub</i> within <i>string</i> with <i>replace</i><br/>
<b>Returns the string after replacing the sub strings</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "This is a test."
var/result = textutil.replaceText(string, "is", "isn't")
// result == "This isn't a test."</div>
</div>
<br/>
<a name='textutil/padText()'></a>
<div class='functionDefinition'>textutil/padText(<i>string</i>, <i>size</i>=12, <i>padSide</i>=textutil.PAD_LEFT, <i>padCharacter</i>=" ")</div>
<div class='leftExpand'>
Adds padding to a string to make it match the given length, using the <i>padCharacter</i>.<br/>
<i>padSide</i> determines on which side the padding should be placed.<br/>
<br/>
<u>padSide</u> =<br/>
<tt>textutil.PAD_LEFT</tt> puts the padding on the left.<br/>
<tt>textutil.PAD_RIGHT</tt> puts the padding on the right.<br/>
<tt>textutil.PAD_BOTH</tt> puts half of the padding on each side.<br/>
<sup>NOTE: for odd lengths with <tt>textutil.PAD_BOTH</tt>, the extra padder is added to the right.</sup><br/>
<br/>
<b>Returns the padded text.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "!CENTERED!"
var/result = textutil.padText(string, 20, textutil.PAD_LEFT, "-")
// result == "----------!CENTERED!"
result = textutil.padText(string, 20, textutil.PAD_RIGHT, "-")
// result == "!CENTERED!----------"
result = textutil.padText(string, 20, textutil.PAD_BOTH, "-")
// result == "-----!CENTERED!-----"</div>
</div>
<br/>
<a name='textutil/noBreak()'></a>
<div class='functionDefinition'>textutil/noBreak(<i>string</i>)</div>
<sup><b>MAY BE DEPRECATED:</b> This is essentially a call to <tt>textutil.replaceText(string, "\n", " ")</tt></sup>
<div class='leftExpand'>
Replaces all occurrences of linebreaks within the given string with simple spaces.<br/>
<b>Returns the break-less string.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "This\nis\na\ntest."
var/result = textutil.noBreak(string)
// result == "This is a test."</div>
</div>
<br/>
<a name='textutil/autoBreak()'></a>
<div class='functionDefinition'>textutil/autoBreak(<i>string</i>, <i>charsPerLine</i>=50)</div>
<div class='leftExpand'>
Automatically places linebreaks throughout the string.<br/>
The one rule this procedure follows is that it will not place a linebreak until it reaches a whitespace character.<br/>
<b>Returns the broken-up string.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>// practical usage
var/description = {"I really enjoy cake. It is enjoyable. One time I ate an entire bakery.
Honestly, an entire bakery. I got sent to prison for robbery and voluntary manslaughter.
But yeah. Cake is pretty good."}
var/result = textutil.noBreak(description) // remove linebreaks from the description
result = textutil.autoBreak(result, 50) // add a linebreak every 50 characters
// result == {"I really enjoy cake. It is enjoyable. One time I ate
an entire bakery. Honestly, an entire bakery. I got
sent to prison for robbery and voluntary manslaughter.
But yeah. Cake is pretty good."}</div>
</div>
<br/>
<a name='textutil/autoComplete()'></a>
<div class='functionDefinition'>textutil/autoComplete(<i>string</i> or <i>list of strings</i>, <i>needle</i>)</div>
<sup>Case-sensitive version is called <tt>textutil.autoCompleteCase(<i>string</i> or <i>list of strings</i>, <i>needle</i>)</tt></sup>
<div class='leftExpand'>
If the beginning characters of <i>string</i> match to the <i>needle</i> string, e.g. "cake" begins with "ca", then this will return <i>string</i>.<br/>
<br/>
When used with a list, it will attempt to do the same kind of match to each string within the list, and on a match, returns that string.<br/>
<b>Returns the autocompleted string.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "male"
var/result = textutil.autoComplete(string, "m")
// result == "male"
result = textutil.autoComplete(string, "cake")
// result == null</div>
</div>
<br/>
<a name='textutil/matchKeys()'></a>
<div class='functionDefinition'>textutil/matchKeys(<i>string</i> or <i>list of strings</i>, <i>needle</i>)</div>
<sup>Case-sensitive version is called <tt>textutil.matchKeysCase(<i>string</i> or <i>list of strings</i>, <i>needle</i>)</tt></sup>
<div class='leftExpand'>
This function compares keywords from the <i>needle</i> string to keywords in the <i>string</i>, and if they match, returns <i>string</i>.<br/>
<br/>
Keywords are defined as space-delimited series of characters. In example, in the string "cake pie", there are two keywords. "cake" and "pie".<br/>
<br/>
The method of determining if the keywords match is the equivalent of autoComplete()'s, and for a keyword string (string A) to match another keyword string (string B), all of the keywords in string A must match atleast one keyword in string B.<br/>
<br/>
When <i>string</i> is a list, it will attempt to do the same kind of comparison to all of the strings within the list, and if there is a match, will return that string.<br/>
<b>Returns the autocompleted string.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "ali baba fourty thief"
var/result = textutil.matchKeys(string, "ali thief")
// result == "ali baba fourty thief"
result = textutil.matchKeys(string, "ali thief cake")
// result == null</div>
</div>
<br/>
<a name='textutil/repeatText()'></a>
<div class='functionDefinition'>textutil/repeatText(<i>string</i>, <i>count</i>=2)</div>
<div class='leftExpand'>
Repeats <i>string</i> <i>count</i> times.<br/>
<b>Returns the repeated string.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "-"
var/result = textutil.repeatText(string, 10)
// result == "----------" </div>
</div>
<br/>
<a name='textutil/file2list()'></a>
<div class='functionDefinition'>textutil/file2list(<i>file</i>, <i>delimiter</i>="\n")</div>
<sup>Case-sensitive version is called <tt>textutil.file2listCase(<i>file</i>, <i>delimiter</i>="\n")</tt></sup>
<div class='leftExpand'>
Reads a file into a list, using a string to delimit the entries.<br/>
<i>file</i> can either be a file object (created with <tt>file()</tt>), or a string reference, like <tt>"directory/file.txt"</tt>.<br/>
It's essentially a shortened form of <tt>textutil.text2list(file2text("blah.txt"), "\n")</tt>.<br/>
<b>Returns the list generated.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>/* blah.txt:
* cake
* pie
* blah
*/
var/file = file("blah.txt")
var/list/result = textutil.file2list(file, "\n")
// result == list("cake", "pie", "blah") </div>
</div>
<br/>
<a name='textutil/hasPrefix()'></a>
<div class='functionDefinition'>textutil/hasPrefix(<i>string</i>, <i>prefix</i>)</div>
<sup>Case-sensitive version is called <tt>textutil.hasPrefixCase(<i>string</i>, <i>prefix</i>)</tt></sup>
<div class='leftExpand'>
Check if <i>string</i> is prefixed with <i>prefix</i>.<br/>
<b>Returns 1 (effectively TRUE) if the string is prefixed with the prefix, 0 (effectivley FALSE) otherwise.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "begin:blah blah"
var/result = textutil.hasPrefix(string, "begin:")
// result == 1 (TRUE) </div>
</div>
<br/>
<a name='textutil/hasSuffix()'></a>
<div class='functionDefinition'>textutil/hasSuffix(<i>string</i>, <i>suffix</i>)</div>
<sup>Case-sensitive version is called <tt>textutil.hasSuffixCase(<i>string</i>, <i>suffix</i>)</tt></sup>
<div class='leftExpand'>
Check if <i>string</i> is suffixed with <i>suffix</i>.<br/>
<b>Returns the position the suffix begins at (should always be <i>string length</i> - <i>suffix length</i>) if the string is suffixed with the suffix, 0 otherwise.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "blah blah:end"
var/result = textutil.hasSuffix(string, ":end")
// result == 1 (TRUE) </div>
</div>
<br/>
<a name='textutil/limitText()'></a>
<div class='functionDefinition'>textutil/limitText(<i>string</i>, <i>length</i>)</div>
<div class='leftExpand'>
Limits the length of the given <i>string</i> to <i>length</i> characters.<br/>
<b>If the string is less than <i>length</i> characters long, returns <i>string</i>.<br/>Otherwise, returns the first <i>length</i> characters of <i>string</i>.</b><br/>
<br/>
<u>Example:</u>
<div class='example'>var/string = "begin:blah blah"
var/result = textutil.hasPrefix(string, "begin:")
// result == 1 (TRUE) </div>
</div>
</div>
<div class='explanation'>
<div class='header'>Members defined by the library</div>
<sup>Members preceded by <tt>__</tt> are "private" members that you aren't expected to access.</sup>
<a name='textutil/PAD_LEFT'></a>
<div class='functionDefinition'>textutil/PAD_LEFT=<tt>1</tt></div>
<div class='leftExpand'>
<tt>padSide</tt> value for <tt>textutil.padText()</tt>.<br/>
Indicates that it should pad the left side of the string.
</div>
<br/>
<a name='textutil/PAD_RIGHT'></a>
<div class='functionDefinition'>textutil/PAD_RIGHT=<tt>2</tt></div>
<div class='leftExpand'>
<tt>padSide</tt> value for <tt>textutil.padText()</tt>.<br/>
Indicates that it should pad the right side of the string.
</div>
<br/>
<a name='textutil/PAD_BOTH'></a>
<div class='functionDefinition'>textutil/PAD_BOTH=<tt>3</tt></div>
<div class='leftExpand'>
<tt>padSide</tt> value for <tt>textutil.padText()</tt>.<br/>
Indicates that it should pad both sides of the string, effectively centering the string.
</div>
<br/>
<a name='textutil/ASCII_SPACE'></a>
<div class='functionDefinition'>textutil/ASCII_SPACE=<tt>32</tt></div>
<div class='leftExpand'>
The ASCII value for a space.
</div>
<br/>
<a name='textutil/ASCII_SPACE'></a>
<div class='functionDefinition'>textutil/ASCII_LINEBREAK=<tt>10</tt></div>
<div class='leftExpand'>
The ASCII value for a linebreak.
</div>
<br/>
<a name='textutil/ASCII_SPACE'></a>
<div class='functionDefinition'>textutil/ASCII_TAB=<tt>9</tt></div>
<div class='leftExpand'>
The ASCII value for a tab.
</div>
</div>
</body>
</html>