Home » Archimedes archive » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf » Functions/String
Functions/String
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf |
Filename: | Functions/String |
Read OK: | ✔ |
File size: | 0ACE bytes |
Load address: | FFFDDE43 |
Exec address: | 9C9F8D52 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Archimedes archive » Zipped Apps » PipeDream » Functions/String
- Archimedes archive » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf » Functions/String
File contents
%OP%VS4.12 Test (Dec 12 1991), Colton Software - Development, R0123 4567 8901 2345 %OP%DP0 %OP%LP* %OP%TM4 %OP%BM4 %OP%LM5 %OP%FX %OP%FY %OP%FS %OP%WC2,1750,528,1364,0,0,0,0 %CO:A,9,100% %C%%H1%String Functions Examples %C%Function Char Code Exact Find Join Left Length Lower Mid Proper Replace Rept Reverse Right String Trim Upper Value %CO:B,22,0% %C%Input 1 %V%%C%65 %V%%C%F6 %C%PipeDream %C%nt %C%Colton %C%Colton Software %C%Exponential %C%CoMPlicAtED %C%Corresponding %C%this is a TITLE %C%Password : Secret %C%Can %C%Not a Palindrome %C%Colton Software %V%%C%65454 %V%%C%" Lots of space " %C%jUSt liKe tHAt %C%1000 %CO:C,10,0% %C%Input 2 %C%- %C%- %C%PipeDream %C%Ancient %C%Software %V%%C%6 %C%- %C% - %V%%C%4 %C%- %V%%C%12 %V%%C%2 %C%- %V%%C%9 %V%%C%0 %C%- %C%- %C%- %CO:D,8,0% %C%Input 3 %C%- %C%- %C%- %V%%C%1 %C%- %C%- %C%- %C%- %V%%C%7 %C%- %V%%C%6 %C%- %C%- %C%- %C%- %C%- %C%- %C%- %CO:E,12,0% %C%Input 4 %C% - %C% - %C% - %C% - %C%- %C% - %C% - %C% - %C% - %C% - %C%n/a %C% - %C% - %C% - %C% - %C% - %C% - %C%- %CO:F,16,0% %C%Output %V%%C%char(B6) %V%%C%code(B7) %V%%C%exact(B8,C8) %V%%C%find(B9,C9,D9) %V%%C%join(B10,C10) %V%%C%left(B11,C11) %V%%C%length(B12) %V%%C%lower(B13) %V%%C%mid(B14,C14,D14) %V%%C%proper(B15) %V%%C%replace(B16,C16,D16,E16) %V%%C%rept(B17,C17) %V%%C%reverse(B18) %V%%C%right(B19,C19) %V%%C%string(B20,C20) %V%%C%trim(B21) %V%%C%upper(B22) %V%%C%value(B23) %CO:G,2,0%%CO:H,85,0% Summary Converts ASCII value to character Converts character to ASCII value Compares two strings - 1 TRUE, 0 FALSE. Attempts to find first string within second, starting at %H4%Input3. Input3%H4% is optional Concatenates any number of strings onto the end of each other string. Returns the first %H4%Input2%H4% charaters of a string. Returns the length of a string. Converts a string to contain only lower case letters. Extracts %H4%Input3%H4% characters from a string, starting from %H4%Input2%H4%. Capitalises every letter in a string which does not follow another letter. Replaces part of the %H4%Input1%H4%, starting with %H4%Input2%H4% up to %H4%Input3%H4% with %H4%Input4%H4% Repeats a string %H4%Input2%H4% times to form a new string. Reverses a string, character by character. Returns the last %H4%Input2%H4% characters of a string. Converts a number to a string, using %H4%Input2%H4% decimal places.%H4% Input2%H4% is optional. Strips all leading and trailing spaces and reduces multiple interior spaces to one. Converts a string to contain only upper case letters. Converts a string containing characters 0-9 to a number.
00000000 25 4f 50 25 56 53 34 2e 31 32 20 54 65 73 74 20 |%OP%VS4.12 Test | 00000010 28 44 65 63 20 31 32 20 31 39 39 31 29 2c 20 43 |(Dec 12 1991), C| 00000020 6f 6c 74 6f 6e 20 53 6f 66 74 77 61 72 65 20 2d |olton Software -| 00000030 20 44 65 76 65 6c 6f 70 6d 65 6e 74 2c 20 52 30 | Development, R0| 00000040 31 32 33 20 34 35 36 37 20 38 39 30 31 20 32 33 |123 4567 8901 23| 00000050 34 35 0a 25 4f 50 25 44 50 30 0a 25 4f 50 25 4c |45.%OP%DP0.%OP%L| 00000060 50 2a 0a 25 4f 50 25 54 4d 34 0a 25 4f 50 25 42 |P*.%OP%TM4.%OP%B| 00000070 4d 34 0a 25 4f 50 25 4c 4d 35 0a 25 4f 50 25 46 |M4.%OP%LM5.%OP%F| 00000080 58 0a 25 4f 50 25 46 59 0a 25 4f 50 25 46 53 0a |X.%OP%FY.%OP%FS.| 00000090 25 4f 50 25 57 43 32 2c 31 37 35 30 2c 35 32 38 |%OP%WC2,1750,528| 000000a0 2c 31 33 36 34 2c 30 2c 30 2c 30 2c 30 0a 25 43 |,1364,0,0,0,0.%C| 000000b0 4f 3a 41 2c 39 2c 31 30 30 25 0a 25 43 25 25 48 |O:A,9,100%.%C%%H| 000000c0 31 25 53 74 72 69 6e 67 20 46 75 6e 63 74 69 6f |1%String Functio| 000000d0 6e 73 20 45 78 61 6d 70 6c 65 73 0a 0a 25 43 25 |ns Examples..%C%| 000000e0 46 75 6e 63 74 69 6f 6e 0a 0a 43 68 61 72 0a 43 |Function..Char.C| 000000f0 6f 64 65 0a 45 78 61 63 74 0a 46 69 6e 64 0a 4a |ode.Exact.Find.J| 00000100 6f 69 6e 0a 4c 65 66 74 0a 4c 65 6e 67 74 68 0a |oin.Left.Length.| 00000110 4c 6f 77 65 72 0a 4d 69 64 0a 50 72 6f 70 65 72 |Lower.Mid.Proper| 00000120 0a 52 65 70 6c 61 63 65 0a 52 65 70 74 0a 52 65 |.Replace.Rept.Re| 00000130 76 65 72 73 65 0a 52 69 67 68 74 0a 53 74 72 69 |verse.Right.Stri| 00000140 6e 67 0a 54 72 69 6d 0a 55 70 70 65 72 0a 56 61 |ng.Trim.Upper.Va| 00000150 6c 75 65 0a 25 43 4f 3a 42 2c 32 32 2c 30 25 0a |lue.%CO:B,22,0%.| 00000160 0a 0a 25 43 25 49 6e 70 75 74 20 31 0a 0a 25 56 |..%C%Input 1..%V| 00000170 25 25 43 25 36 35 0a 25 56 25 25 43 25 46 36 0a |%%C%65.%V%%C%F6.| 00000180 25 43 25 50 69 70 65 44 72 65 61 6d 0a 25 43 25 |%C%PipeDream.%C%| 00000190 6e 74 0a 25 43 25 43 6f 6c 74 6f 6e 20 0a 25 43 |nt.%C%Colton .%C| 000001a0 25 43 6f 6c 74 6f 6e 20 53 6f 66 74 77 61 72 65 |%Colton Software| 000001b0 0a 25 43 25 45 78 70 6f 6e 65 6e 74 69 61 6c 0a |.%C%Exponential.| 000001c0 25 43 25 43 6f 4d 50 6c 69 63 41 74 45 44 0a 25 |%C%CoMPlicAtED.%| 000001d0 43 25 43 6f 72 72 65 73 70 6f 6e 64 69 6e 67 0a |C%Corresponding.| 000001e0 25 43 25 74 68 69 73 20 69 73 20 61 20 54 49 54 |%C%this is a TIT| 000001f0 4c 45 0a 25 43 25 50 61 73 73 77 6f 72 64 20 3a |LE.%C%Password :| 00000200 20 53 65 63 72 65 74 0a 25 43 25 43 61 6e 20 0a | Secret.%C%Can .| 00000210 25 43 25 4e 6f 74 20 61 20 50 61 6c 69 6e 64 72 |%C%Not a Palindr| 00000220 6f 6d 65 0a 25 43 25 43 6f 6c 74 6f 6e 20 53 6f |ome.%C%Colton So| 00000230 66 74 77 61 72 65 0a 25 56 25 25 43 25 36 35 34 |ftware.%V%%C%654| 00000240 35 34 0a 25 56 25 25 43 25 22 20 20 4c 6f 74 73 |54.%V%%C%" Lots| 00000250 20 20 20 6f 66 20 20 20 20 73 70 61 63 65 20 22 | of space "| 00000260 0a 25 43 25 6a 55 53 74 20 6c 69 4b 65 20 74 48 |.%C%jUSt liKe tH| 00000270 41 74 0a 25 43 25 31 30 30 30 0a 25 43 4f 3a 43 |At.%C%1000.%CO:C| 00000280 2c 31 30 2c 30 25 0a 0a 0a 25 43 25 49 6e 70 75 |,10,0%...%C%Inpu| 00000290 74 20 32 0a 0a 25 43 25 2d 0a 25 43 25 2d 0a 25 |t 2..%C%-.%C%-.%| 000002a0 43 25 50 69 70 65 44 72 65 61 6d 0a 25 43 25 41 |C%PipeDream.%C%A| 000002b0 6e 63 69 65 6e 74 0a 25 43 25 53 6f 66 74 77 61 |ncient.%C%Softwa| 000002c0 72 65 0a 25 56 25 25 43 25 36 0a 25 43 25 2d 0a |re.%V%%C%6.%C%-.| 000002d0 25 43 25 20 2d 0a 25 56 25 25 43 25 34 0a 25 43 |%C% -.%V%%C%4.%C| 000002e0 25 2d 0a 25 56 25 25 43 25 31 32 0a 25 56 25 25 |%-.%V%%C%12.%V%%| 000002f0 43 25 32 0a 25 43 25 2d 0a 25 56 25 25 43 25 39 |C%2.%C%-.%V%%C%9| 00000300 0a 25 56 25 25 43 25 30 0a 25 43 25 2d 0a 25 43 |.%V%%C%0.%C%-.%C| 00000310 25 2d 0a 25 43 25 2d 0a 25 43 4f 3a 44 2c 38 2c |%-.%C%-.%CO:D,8,| 00000320 30 25 0a 0a 0a 25 43 25 49 6e 70 75 74 20 33 0a |0%...%C%Input 3.| 00000330 0a 25 43 25 2d 0a 25 43 25 2d 0a 25 43 25 2d 0a |.%C%-.%C%-.%C%-.| 00000340 25 56 25 25 43 25 31 0a 25 43 25 2d 0a 25 43 25 |%V%%C%1.%C%-.%C%| 00000350 2d 0a 25 43 25 2d 0a 25 43 25 2d 0a 25 56 25 25 |-.%C%-.%C%-.%V%%| 00000360 43 25 37 0a 25 43 25 2d 0a 25 56 25 25 43 25 36 |C%7.%C%-.%V%%C%6| 00000370 0a 25 43 25 2d 0a 25 43 25 2d 0a 25 43 25 2d 0a |.%C%-.%C%-.%C%-.| 00000380 25 43 25 2d 0a 25 43 25 2d 0a 25 43 25 2d 0a 25 |%C%-.%C%-.%C%-.%| 00000390 43 25 2d 0a 25 43 4f 3a 45 2c 31 32 2c 30 25 0a |C%-.%CO:E,12,0%.| 000003a0 0a 0a 25 43 25 49 6e 70 75 74 20 34 0a 0a 25 43 |..%C%Input 4..%C| 000003b0 25 20 20 20 20 20 20 20 2d 0a 25 43 25 20 20 20 |% -.%C% | 000003c0 20 20 20 20 20 2d 0a 25 43 25 20 20 20 20 20 20 | -.%C% | 000003d0 20 20 20 2d 0a 25 43 25 20 20 20 20 20 20 20 20 | -.%C% | 000003e0 20 20 2d 0a 25 43 25 2d 20 0a 25 43 25 20 20 20 | -.%C%- .%C% | 000003f0 20 20 20 20 20 20 20 20 20 2d 0a 25 43 25 20 20 | -.%C% | 00000400 20 20 20 20 20 20 20 20 20 20 20 2d 0a 25 43 25 | -.%C%| 00000410 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 0a | -.| 00000420 25 43 25 20 20 20 20 20 20 20 20 20 20 20 20 20 |%C% | 00000430 20 20 2d 0a 25 43 25 20 20 20 20 20 20 20 20 20 | -.%C% | 00000440 20 20 20 20 20 20 20 2d 0a 25 43 25 6e 2f 61 20 | -.%C%n/a | 00000450 0a 25 43 25 20 20 20 20 20 20 20 20 20 20 20 20 |.%C% | 00000460 20 20 20 20 20 20 2d 0a 25 43 25 20 20 20 20 20 | -.%C% | 00000470 20 20 20 20 20 20 20 20 2d 0a 25 43 25 20 20 20 | -.%C% | 00000480 20 20 20 20 20 20 20 20 20 20 20 2d 0a 25 43 25 | -.%C%| 00000490 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d | -| 000004a0 0a 25 43 25 20 20 20 20 20 20 20 20 20 20 20 20 |.%C% | 000004b0 20 20 20 20 2d 20 0a 25 43 25 20 20 20 20 20 20 | - .%C% | 000004c0 20 20 20 20 20 20 20 20 20 20 20 2d 0a 25 43 25 | -.%C%| 000004d0 2d 0a 25 43 4f 3a 46 2c 31 36 2c 30 25 0a 0a 0a |-.%CO:F,16,0%...| 000004e0 25 43 25 4f 75 74 70 75 74 0a 0a 25 56 25 25 43 |%C%Output..%V%%C| 000004f0 25 63 68 61 72 28 42 36 29 0a 25 56 25 25 43 25 |%char(B6).%V%%C%| 00000500 63 6f 64 65 28 42 37 29 0a 25 56 25 25 43 25 65 |code(B7).%V%%C%e| 00000510 78 61 63 74 28 42 38 2c 43 38 29 0a 25 56 25 25 |xact(B8,C8).%V%%| 00000520 43 25 66 69 6e 64 28 42 39 2c 43 39 2c 44 39 29 |C%find(B9,C9,D9)| 00000530 0a 25 56 25 25 43 25 6a 6f 69 6e 28 42 31 30 2c |.%V%%C%join(B10,| 00000540 43 31 30 29 0a 25 56 25 25 43 25 6c 65 66 74 28 |C10).%V%%C%left(| 00000550 42 31 31 2c 43 31 31 29 0a 25 56 25 25 43 25 6c |B11,C11).%V%%C%l| 00000560 65 6e 67 74 68 28 42 31 32 29 0a 25 56 25 25 43 |ength(B12).%V%%C| 00000570 25 6c 6f 77 65 72 28 42 31 33 29 0a 25 56 25 25 |%lower(B13).%V%%| 00000580 43 25 6d 69 64 28 42 31 34 2c 43 31 34 2c 44 31 |C%mid(B14,C14,D1| 00000590 34 29 0a 25 56 25 25 43 25 70 72 6f 70 65 72 28 |4).%V%%C%proper(| 000005a0 42 31 35 29 0a 25 56 25 25 43 25 72 65 70 6c 61 |B15).%V%%C%repla| 000005b0 63 65 28 42 31 36 2c 43 31 36 2c 44 31 36 2c 45 |ce(B16,C16,D16,E| 000005c0 31 36 29 0a 25 56 25 25 43 25 72 65 70 74 28 42 |16).%V%%C%rept(B| 000005d0 31 37 2c 43 31 37 29 0a 25 56 25 25 43 25 72 65 |17,C17).%V%%C%re| 000005e0 76 65 72 73 65 28 42 31 38 29 0a 25 56 25 25 43 |verse(B18).%V%%C| 000005f0 25 72 69 67 68 74 28 42 31 39 2c 43 31 39 29 0a |%right(B19,C19).| 00000600 25 56 25 25 43 25 73 74 72 69 6e 67 28 42 32 30 |%V%%C%string(B20| 00000610 2c 43 32 30 29 0a 25 56 25 25 43 25 74 72 69 6d |,C20).%V%%C%trim| 00000620 28 42 32 31 29 0a 25 56 25 25 43 25 75 70 70 65 |(B21).%V%%C%uppe| 00000630 72 28 42 32 32 29 0a 25 56 25 25 43 25 76 61 6c |r(B22).%V%%C%val| 00000640 75 65 28 42 32 33 29 0a 25 43 4f 3a 47 2c 32 2c |ue(B23).%CO:G,2,| 00000650 30 25 25 43 4f 3a 48 2c 38 35 2c 30 25 0a 0a 0a |0%%CO:H,85,0%...| 00000660 53 75 6d 6d 61 72 79 0a 0a 43 6f 6e 76 65 72 74 |Summary..Convert| 00000670 73 20 41 53 43 49 49 20 76 61 6c 75 65 20 74 6f |s ASCII value to| 00000680 20 63 68 61 72 61 63 74 65 72 0a 43 6f 6e 76 65 | character.Conve| 00000690 72 74 73 20 63 68 61 72 61 63 74 65 72 20 74 6f |rts character to| 000006a0 20 41 53 43 49 49 20 76 61 6c 75 65 0a 43 6f 6d | ASCII value.Com| 000006b0 70 61 72 65 73 20 74 77 6f 20 73 74 72 69 6e 67 |pares two string| 000006c0 73 20 2d 20 31 20 54 52 55 45 2c 20 30 20 46 41 |s - 1 TRUE, 0 FA| 000006d0 4c 53 45 2e 0a 41 74 74 65 6d 70 74 73 20 74 6f |LSE..Attempts to| 000006e0 20 66 69 6e 64 20 66 69 72 73 74 20 73 74 72 69 | find first stri| 000006f0 6e 67 20 77 69 74 68 69 6e 20 73 65 63 6f 6e 64 |ng within second| 00000700 2c 20 73 74 61 72 74 69 6e 67 20 61 74 20 25 48 |, starting at %H| 00000710 34 25 49 6e 70 75 74 33 2e 20 49 6e 70 75 74 33 |4%Input3. Input3| 00000720 25 48 34 25 20 69 73 20 6f 70 74 69 6f 6e 61 6c |%H4% is optional| 00000730 0a 43 6f 6e 63 61 74 65 6e 61 74 65 73 20 61 6e |.Concatenates an| 00000740 79 20 6e 75 6d 62 65 72 20 6f 66 20 73 74 72 69 |y number of stri| 00000750 6e 67 73 20 6f 6e 74 6f 20 74 68 65 20 65 6e 64 |ngs onto the end| 00000760 20 6f 66 20 65 61 63 68 20 6f 74 68 65 72 20 73 | of each other s| 00000770 74 72 69 6e 67 2e 0a 52 65 74 75 72 6e 73 20 74 |tring..Returns t| 00000780 68 65 20 66 69 72 73 74 20 25 48 34 25 49 6e 70 |he first %H4%Inp| 00000790 75 74 32 25 48 34 25 20 63 68 61 72 61 74 65 72 |ut2%H4% charater| 000007a0 73 20 6f 66 20 61 20 73 74 72 69 6e 67 2e 0a 52 |s of a string..R| 000007b0 65 74 75 72 6e 73 20 74 68 65 20 6c 65 6e 67 74 |eturns the lengt| 000007c0 68 20 6f 66 20 61 20 73 74 72 69 6e 67 2e 0a 43 |h of a string..C| 000007d0 6f 6e 76 65 72 74 73 20 61 20 73 74 72 69 6e 67 |onverts a string| 000007e0 20 74 6f 20 63 6f 6e 74 61 69 6e 20 6f 6e 6c 79 | to contain only| 000007f0 20 6c 6f 77 65 72 20 63 61 73 65 20 6c 65 74 74 | lower case lett| 00000800 65 72 73 2e 0a 45 78 74 72 61 63 74 73 20 25 48 |ers..Extracts %H| 00000810 34 25 49 6e 70 75 74 33 25 48 34 25 20 63 68 61 |4%Input3%H4% cha| 00000820 72 61 63 74 65 72 73 20 66 72 6f 6d 20 61 20 73 |racters from a s| 00000830 74 72 69 6e 67 2c 20 73 74 61 72 74 69 6e 67 20 |tring, starting | 00000840 66 72 6f 6d 20 25 48 34 25 49 6e 70 75 74 32 25 |from %H4%Input2%| 00000850 48 34 25 2e 0a 43 61 70 69 74 61 6c 69 73 65 73 |H4%..Capitalises| 00000860 20 65 76 65 72 79 20 6c 65 74 74 65 72 20 69 6e | every letter in| 00000870 20 61 20 73 74 72 69 6e 67 20 77 68 69 63 68 20 | a string which | 00000880 64 6f 65 73 20 6e 6f 74 20 66 6f 6c 6c 6f 77 20 |does not follow | 00000890 61 6e 6f 74 68 65 72 20 6c 65 74 74 65 72 2e 0a |another letter..| 000008a0 52 65 70 6c 61 63 65 73 20 70 61 72 74 20 6f 66 |Replaces part of| 000008b0 20 74 68 65 20 25 48 34 25 49 6e 70 75 74 31 25 | the %H4%Input1%| 000008c0 48 34 25 2c 20 73 74 61 72 74 69 6e 67 20 77 69 |H4%, starting wi| 000008d0 74 68 20 25 48 34 25 49 6e 70 75 74 32 25 48 34 |th %H4%Input2%H4| 000008e0 25 20 75 70 20 74 6f 20 25 48 34 25 49 6e 70 75 |% up to %H4%Inpu| 000008f0 74 33 25 48 34 25 20 77 69 74 68 20 25 48 34 25 |t3%H4% with %H4%| 00000900 49 6e 70 75 74 34 25 48 34 25 0a 52 65 70 65 61 |Input4%H4%.Repea| 00000910 74 73 20 61 20 73 74 72 69 6e 67 20 25 48 34 25 |ts a string %H4%| 00000920 49 6e 70 75 74 32 25 48 34 25 20 74 69 6d 65 73 |Input2%H4% times| 00000930 20 74 6f 20 66 6f 72 6d 20 61 20 6e 65 77 20 73 | to form a new s| 00000940 74 72 69 6e 67 2e 0a 52 65 76 65 72 73 65 73 20 |tring..Reverses | 00000950 20 61 20 73 74 72 69 6e 67 2c 20 63 68 61 72 61 | a string, chara| 00000960 63 74 65 72 20 62 79 20 63 68 61 72 61 63 74 65 |cter by characte| 00000970 72 2e 0a 52 65 74 75 72 6e 73 20 74 68 65 20 6c |r..Returns the l| 00000980 61 73 74 20 25 48 34 25 49 6e 70 75 74 32 25 48 |ast %H4%Input2%H| 00000990 34 25 20 63 68 61 72 61 63 74 65 72 73 20 6f 66 |4% characters of| 000009a0 20 61 20 73 74 72 69 6e 67 2e 0a 43 6f 6e 76 65 | a string..Conve| 000009b0 72 74 73 20 61 20 6e 75 6d 62 65 72 20 74 6f 20 |rts a number to | 000009c0 61 20 73 74 72 69 6e 67 2c 20 75 73 69 6e 67 20 |a string, using | 000009d0 25 48 34 25 49 6e 70 75 74 32 25 48 34 25 20 64 |%H4%Input2%H4% d| 000009e0 65 63 69 6d 61 6c 20 70 6c 61 63 65 73 2e 25 48 |ecimal places.%H| 000009f0 34 25 20 49 6e 70 75 74 32 25 48 34 25 20 69 73 |4% Input2%H4% is| 00000a00 20 6f 70 74 69 6f 6e 61 6c 2e 0a 53 74 72 69 70 | optional..Strip| 00000a10 73 20 61 6c 6c 20 6c 65 61 64 69 6e 67 20 61 6e |s all leading an| 00000a20 64 20 74 72 61 69 6c 69 6e 67 20 73 70 61 63 65 |d trailing space| 00000a30 73 20 61 6e 64 20 72 65 64 75 63 65 73 20 6d 75 |s and reduces mu| 00000a40 6c 74 69 70 6c 65 20 69 6e 74 65 72 69 6f 72 20 |ltiple interior | 00000a50 73 70 61 63 65 73 20 74 6f 20 6f 6e 65 2e 0a 43 |spaces to one..C| 00000a60 6f 6e 76 65 72 74 73 20 61 20 73 74 72 69 6e 67 |onverts a string| 00000a70 20 74 6f 20 63 6f 6e 74 61 69 6e 20 6f 6e 6c 79 | to contain only| 00000a80 20 75 70 70 65 72 20 63 61 73 65 20 6c 65 74 74 | upper case lett| 00000a90 65 72 73 2e 0a 43 6f 6e 76 65 72 74 73 20 61 20 |ers..Converts a | 00000aa0 73 74 72 69 6e 67 20 63 6f 6e 74 61 69 6e 69 6e |string containin| 00000ab0 67 20 63 68 61 72 61 63 74 65 72 73 20 30 2d 39 |g characters 0-9| 00000ac0 20 74 6f 20 61 20 6e 75 6d 62 65 72 2e 0a | to a number..| 00000ace