05A75 |
#>CHR
|
( # → chr )
Returns character with the specified ASCII
code.
|
6475C |
CHR>$
|
( chr → $* Strings )
Converts a character into a string.
|
05636 |
LEN$
|
( $ → #length )
Returns length in bytes.
|
1CA26 |
(LEN$>%)
|
( $ → % )
LEN$ then UNCOERCE .
|
627BB |
DUPLEN$
|
( $ → $ # )
DUP then LEN$ .
|
05622 |
OVERLEN$
|
( $ ob → $ ob #len )
OVER then LEN$ .
|
63191 |
NEWLINE$&$
|
( $ → "$\0a" )
Appends newline character to string.
aka: NEWLINE&$
|
2E4DC |
APNDCRLF
|
( $ → $' )
Appends carriage return and line feed to
string.
|
1782E |
(2LEN$#+)
|
( $ $' → $ $' # )
Returns sum of length of two strings.
|
127CA |
(DROPDUPLEN$1+)
|
( $ ob → $ #len+1 )
Does DROP , then DUP , then LEN$ and finally
#1+ .
|
050ED |
CAR$
|
( $ → chr )
( $ → "" )
Returns first character of string as a
string, or NULL$ for null string.
|
0516C |
CDR$
|
( $ → $' )
Returns string without first character, or
NULL$ for null string.
|
645B1 |
POS$
|
( $ $find start# → #pos )
( $ $find start# → #0 )
Search for $find in $search, starting at
position #start. Returns position of $find
or 0 if not found.
Same entry as POSCHR .
|
645B1 |
POSCHR
|
( $search chr #start → #pos )
( $search chr #start → #0 )
Same entry as <REF>POS$.
|
15EF6 |
(ONEPOS$)
|
( $ $find/chr → #pos )
( $ $find/chr → #0 )
<REF>POS$ with #start = 1.
|
1CAD7 |
(XEQPOS$)
|
( $ $find/chr → %pos )
( $ $find/chr → %0 )
<REF>POS$ with #start = 1 and followed by
UNCOERCE .
|
645BD |
POS$REV
|
( $ $find #limit → #pos )
( $ $find #limit → #0 )
Searches backwards from #limit to #1.
Same entry as <REF>POSCHRREV.
|
645BD |
POSCHRREV
|
( $seach chr #start → #pos )
( $seach chr #start → #0 )
Same entry as <REF>POS$REV.
|
12770 |
COERCE$22
|
( $ → $' )
If the string is longer than 22 characters,
truncates it to 21 characters and appends
"...".
|
45676 |
Blank$
|
( #len → $ )
Creates a string with the specified number
of spaces.
|
49709 |
PromptIdUtil
|
( id ob → $ )
Creates string of the form "id: ob".
|
127A7 |
SEP$NL
|
( $ → $' $" )
Separates string at the first newline. $" is
the substring before the first newline; $'
the substring after the first newline.
|
05733 |
SUB$
|
( $ #start #end → $' )
Returns substring between specified
positions.
|
1C8BB |
(XEQSUB$)
|
( $ % %' → $' )
Same as <REF>SUB$ but uses real numbers as
arguments.
|
63245 |
#1-SUB$
|
( $ #start #end+#1 → $' )
Does #1- and then SUB$ .
|
63259 |
1_#1-SUB$
|
( $ #end → $' )
Returns substring with the first #end
characters.
aka: 1_#1-SUB
|
6326D |
LAST$
|
( $ #start → $' )
Returns substring from the specified start
position to the end (inclusive).
|
63281 |
#1+LAST$
|
( $ #start-#1 → $' )
Returns substring from the specified start
position to the end (exclusive).
|
62D6D |
SUB$SWAP
|
( ob $ # #' → $' ob )
SUB$ then SWAP .
|
30805 |
SUB$1#
|
( $ #pos → #' )
Returns bint with ASCII code of character at
the specified position.
|
61C1C |
EXPAND
|
( hxs #nibs → hxs' )
Appends #nibs zero nibbles to the hxs.
|
05193 |
&$
|
( $ $' → $+$' )
Concatenates two strings.
|
63F6A |
&$SWAP
|
( ob $ $' → $+$' ob )
&$ then SWAP .
|
62376 |
!append$
|
( $ $' → $+$' )
Tries &$ , if not enough memory does
!!append$? .
|
622E5 |
!insert$
|
( $ $' → $'+$ )
Does SWAP then <REF>!append$.
|
62F2F |
!append$SWAP
|
( ob $ $' → $+$' ob )
!append$ then SWAP .
|
62312 |
!!append$?
|
( $ $' → $+$' )
Attempts append "in place" if target is in
tempob.
|
623A0 |
!!append$
|
( $ $' → $+$' )
Tries appending "in place".
|
62394 |
!!insert$
|
( $ $' → $'+$ )
Tries inserting "in place".
|
0525B |
>H$
|
( $ chr → $' )
Prepends character to string
|
052EE |
>T$
|
( $ chr → $' )
Appends character to string.
|
62BB0 |
APPEND_SPACE
|
( $ → $' )
Appends space to string.
|
622EF |
SWAP&$
|
( $ $' → $'+$ )
Concatenates two strings.
|
0D304 |
TIMESTR
|
( %dt %tm → "dy dt tm" )
Returns string representation of time, using
current format. Example:
"WED 06/24/98 10:00:45A"
|
188D2 |
(NOT$)
|
( $1 $2 → $' )
Logical NOT.
|
18873 |
AND$
|
( $1 $2 → $' )
Logical AND. Errors if strings are not the
same length.
|
18887 |
OR$
|
( $ $' → $" )
Logical OR. Errors if strings are not the
same length.
|
1889B |
XOR$
|
( $ $' → $" )
Logical XOR. Errors if strings are not the
same length.
|
18961 |
(!NOT$)
|
( $ $' → $" ??? )
Logical NOT "in place".
|
188E6 |
(!AND$)
|
( $ $' → $" ??? )
Logical AND. Does not check if strings are
the same length.
|
188F5 |
(!OR$)
|
( $ $' → $" ??? )
Logical OR, does not check if strings are the
same length.
|
18904 |
(!XOR$)
|
( $ $' → $" ??? )
Logical XOR. Does not check if strings are
the same length.
|
1410F |
(DONUM)
|
( $ → CHR )
Returns number of first character of string.
|