Copyright 2007, 2024 Anthony Howe. All rights reserved.
( caddr u -- caddr u' )
Trim trailing spaces from end of string caddr u.
( caddr u n -- caddr' u' )
Adjust the character string at caddr u by offset n characters, by adding n to caddr and subtracting n from length u.
( caddr u -- )
If u is greater than zero, store the character value for space in u consecutive character
positions beginning at caddr.
( src dst u -- )
Move u characters from character src address to dst address, proceeding from low to higher addresses.
( src dst u -- )
Move u characters from character src address to dst address, proceeding from high to lower addresses.
( caddr1 u1 caddr2 u2 -- n )
Compare the two strings lexicographically. Return n as 1, zero (0), or -1, according to whether the string caddr1 u1 is greater than, equal to, or less than the string caddr2 u2.
( caddr1 u1 caddr2 u2 -- caddr3 u3 bool )
Search the string caddr1 u1 for the string caddr2 u2. If bool is true, a match was found at caddr3 with u3 characters remaining. If bool is false there was no match and caddr3 u3 are just caddr1 u1.
( caddr u -- ) immediate
Compile the string given by caddr and u into the definition so that it is later pushed onto the stack during execution of the definition. See S" and S\".
( caddr1 u1 caddr2 u2 -- bool )
Return true if string caddr1 u1 starts with string caddr2 u2; otherwise false.
( caddr1 u1 caddr2 u2 -- -1 | 0 | 1 )
Case sensitive string comparison. Return a value greater than, equal to, or less than zero (0), according to whether the string caddr1 u1 is greater than (1), equal to (0), or less than (-1) the string caddr2 u2.
( caddr1 u1 caddr2 u2 -- -1 | 0 | 1 )
Caseless string comparison. Return a value greater than, equal to, or less than zero (0), according to whether the string caddr1 u1 is greater than (1), equal to (0), or less than (-1) the string caddr2 u2.
( caddr -- u )
String length of NUL terminated string. See args, env, and puts.
( src dst u -- )
Copy u characters from src to dst and NUL terminate the dst.
( caddr u -- )
Reverse the string in place.