Home » Archimedes archive » Acorn User » AU 1995-04.adf » !Internet_StarterPak » !SLIPdial/Resources/UK/Help/string
!SLIPdial/Resources/UK/Help/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 » Acorn User » AU 1995-04.adf » !Internet_StarterPak |
Filename: | !SLIPdial/Resources/UK/Help/string |
Read OK: | ✔ |
File size: | 01C1 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
string /size <string> returns size (length) of a string. string /upper <string> converts string to upper case string /lower <string> converts string to lower case string /right=<n> <string> returns rightmost <n> characters of string string /left=<n> <string> returns leftmost <n> characters of string string /start=<n> /length=<n> extracts a substring from a string string/instr=<string2> <string1> returns position of <string2> in <string1>
00000000 73 74 72 69 6e 67 20 2f 73 69 7a 65 20 3c 73 74 |string /size <st| 00000010 72 69 6e 67 3e 0a 20 72 65 74 75 72 6e 73 20 73 |ring>. returns s| 00000020 69 7a 65 20 28 6c 65 6e 67 74 68 29 20 6f 66 20 |ize (length) of | 00000030 61 20 73 74 72 69 6e 67 2e 0a 73 74 72 69 6e 67 |a string..string| 00000040 20 2f 75 70 70 65 72 20 3c 73 74 72 69 6e 67 3e | /upper <string>| 00000050 0a 20 63 6f 6e 76 65 72 74 73 20 73 74 72 69 6e |. converts strin| 00000060 67 20 74 6f 20 75 70 70 65 72 20 63 61 73 65 0a |g to upper case.| 00000070 73 74 72 69 6e 67 20 2f 6c 6f 77 65 72 20 3c 73 |string /lower <s| 00000080 74 72 69 6e 67 3e 0a 20 63 6f 6e 76 65 72 74 73 |tring>. converts| 00000090 20 73 74 72 69 6e 67 20 74 6f 20 6c 6f 77 65 72 | string to lower| 000000a0 20 63 61 73 65 0a 73 74 72 69 6e 67 20 2f 72 69 | case.string /ri| 000000b0 67 68 74 3d 3c 6e 3e 20 3c 73 74 72 69 6e 67 3e |ght=<n> <string>| 000000c0 0a 20 72 65 74 75 72 6e 73 20 72 69 67 68 74 6d |. returns rightm| 000000d0 6f 73 74 20 3c 6e 3e 20 63 68 61 72 61 63 74 65 |ost <n> characte| 000000e0 72 73 20 6f 66 20 73 74 72 69 6e 67 0a 73 74 72 |rs of string.str| 000000f0 69 6e 67 20 2f 6c 65 66 74 3d 3c 6e 3e 20 3c 73 |ing /left=<n> <s| 00000100 74 72 69 6e 67 3e 0a 20 72 65 74 75 72 6e 73 20 |tring>. returns | 00000110 6c 65 66 74 6d 6f 73 74 20 3c 6e 3e 20 63 68 61 |leftmost <n> cha| 00000120 72 61 63 74 65 72 73 20 6f 66 20 73 74 72 69 6e |racters of strin| 00000130 67 0a 73 74 72 69 6e 67 20 2f 73 74 61 72 74 3d |g.string /start=| 00000140 3c 6e 3e 20 2f 6c 65 6e 67 74 68 3d 3c 6e 3e 0a |<n> /length=<n>.| 00000150 20 65 78 74 72 61 63 74 73 20 61 20 73 75 62 73 | extracts a subs| 00000160 74 72 69 6e 67 20 66 72 6f 6d 20 61 20 73 74 72 |tring from a str| 00000170 69 6e 67 0a 73 74 72 69 6e 67 2f 69 6e 73 74 72 |ing.string/instr| 00000180 3d 3c 73 74 72 69 6e 67 32 3e 20 3c 73 74 72 69 |=<string2> <stri| 00000190 6e 67 31 3e 0a 20 72 65 74 75 72 6e 73 20 70 6f |ng1>. returns po| 000001a0 73 69 74 69 6f 6e 20 6f 66 20 3c 73 74 72 69 6e |sition of <strin| 000001b0 67 32 3e 20 69 6e 20 3c 73 74 72 69 6e 67 31 3e |g2> in <string1>| 000001c0 0a |.| 000001c1