Strings
concat
- Signature
- Example
(b String) (a String) | concat | (a+b String)
"foo" "bar" concat => "foobar"
Concatenates two strings and puts the result onto the stack.
concat-all
- Signature
- Example
<mark> (as ...String) | concat-all | (a String)
"a" "b" "c" "d" concat-all => "abcd"
Concatenates all the strings on the stack down to the mark andputs the result on the stack.
trim
- Signature
- Example
(x String) | trim | (y String)
" foo " trim => "foo"
Removes trailing and leading whitespace around a string.