added trim functions
This commit is contained in:
@@ -11,3 +11,6 @@ o wor
|
||||
d he
|
||||
o wor
|
||||
he
|
||||
|f |
|
||||
| f|
|
||||
|f|
|
||||
|
||||
@@ -21,4 +21,9 @@ word main
|
||||
for puts end
|
||||
"hello world hello world hello" "l" splitby
|
||||
for puts end
|
||||
|
||||
" f " 2dup 2dup
|
||||
124 putc ltrim write_buf 124 putc cr
|
||||
124 putc rtrim write_buf 124 putc cr
|
||||
124 putc trim write_buf 124 putc cr
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user