Create a copy with a new entry in front
fput expression collection
fput character word
If the second argument is a collection (array or list) then creates a copy of the collection with
the result of expression added as a new element at the beginning.
If the second argument is a word then creates a copy of the word with a character inserted at
the beginning.
Example:
print fput 1 array 2 3
print fput "a list "b "c
print fput "a "bc
Output:
{1 2 3}
[a b c]
abc
See also:
Array
List
Word
Table of Content