title |
---|
Strings |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
<Tabs defaultValue="signature" values={[ {label: 'Signature', value: 'signature'}, {label: 'Example', value: 'example'}, ]}
(b String) (a String) | concat | (a+b String)
"foo" "bar" concat => "foobar"
Concatenates two strings and puts the result onto the stack.
<Tabs defaultValue="signature" values={[ {label: 'Signature', value: 'signature'}, {label: 'Example', value: '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.
<Tabs defaultValue="signature" values={[ {label: 'Signature', value: 'signature'}, {label: 'Example', value: 'example'}, ]}
(x String) | trim | (y String)
" foo " trim => "foo"
Removes trailing and leading whitespace around a string.