first
[list of data] or string
Parameters:
[list of data] or string |
List or string |
List or string to return the first character/element from |
Description:
Returns the first element of a [list of data] or the first character of a string.
Examples:
first [3 4 5 6]
returns 3.
first "hello" returns "h".
Related Commands:
butfirst
butlast
empty?
fput
last
lput