The basic words for handling string buffers. There are much more buffer words used in most Forth implementations around but they can usually implemented as colon-word quite effectivly on the basis of the STRING wordset.
-TRAILING ( str-ptr str-len -- str-ptr str-len' )
/STRING
BLANK ( str-ptr str-len -- )
CMOVE ( from-ptr to-ptr len -- )
CMOVE> ( from-ptr to-ptr len -- )
COMPARE ( str-ptr1 str-len1 str-ptr2 str-len2 -- n )
SEARCH ( str-ptr1 str-len1 str-ptr2 str-len2 -- str-ptr1' str-len1' flag )
SLITERAL ( -- string ) (runtime)
compile-only
-TRAILING ( str-ptr str-len -- str-ptr str-len' )
reference: p4_dash_trailing in ../src/string.c:0038, export CO -TRAILING
/STRING
no forth documentation available (p4_slash_string)
reference: p4_slash_string in ../src/string.c:0048, export CO /STRING
BLANK ( str-ptr str-len -- )
FILL
BL
reference: p4_blank in ../src/string.c:0066, export CO BLANK
CMOVE ( from-ptr to-ptr len -- )
CMOVE>
reference: p4_cmove in ../src/string.c:0076, export CO CMOVE
CMOVE> ( from-ptr to-ptr len -- )
CMOVE
reference: p4_cmove_up in ../src/string.c:0091, export CO CMOVE>
COMPARE ( str-ptr1 str-len1 str-ptr2 str-len2 -- n )
reference: p4_compare in ../src/string.c:0108, export CO COMPARE
SEARCH ( str-ptr1 str-len1 str-ptr2 str-len2 -- str-ptr1' str-len1' flag )
reference: p4_search in ../src/string.c:0133, export CO SEARCH
SLITERAL ( -- string ) (runtime)
compile-only LITERAL
S"
example: : ORIGINAL-HOME [ $HOME COUNT ] SLITERAL ; ( -- str-ptr str-len )
reference: p4_sliteral in ../src/string.c:0158, export CS SLITERAL