@drop(t:tab, n:numeric)
@drop(t:string, n:numeric)
@drop(t:tab, x:tab)
@drop(t:string, x:tab)
@drop(t:tab, n:numeric)
build a new tab which is t
with its first
n
elements dropped if n > 0
, and with its last n
elements dropped
if n < 0
.
@drop(t:string, n:numeric)
build a new string which is t
with its first
n
characters dropped if n > 0
, and with its last n
characters dropped
if n < 0
.
@drop(t:tab, x:tab)
returns the tab formed by the elements of t
whose indices are not element of x
.
@drop(t:string, x:tab)
returns the string formed by the elements of t
whose indices are not element of x
.
See also lisp like functions: @car, @cdr, @concat, @cons, @empty, @drop, @take.
See also Tab Manipulations @binary_search @car @cdr @clear [@clone] @concat @cons @copy @count @dim @domain @drop @empty @find @flatten @gnuplot @insert @iota @is_list @is_prefix @is_subsequence @is_suffix @lace @last @listify @map @max_val @median @member @normalize @occurs @parse @permute @push_back @push_front @range @reduce @remove @remove_duplicate @replace @reshape @resize @reverse @rotate @scan @scramble @size @slice @sort @sputter @stutter @succession @tab_history @tab_history_date @tab_history_rdate @take @to_num
See also String Management @car @cdr @char_is_alnum @char_is_alpha @char_is_ascii @char_is_blank @char_is_cntrl @char_is_digit @char_is_graph @char_is_lower @char_is_print @char_is_punct @char_is_space @char_is_upper @char_is_xdigit @copy @count @drop @dump @dumpvar @empty @explode @find @is_prefix @is_string @is_subsequence @is_suffix @last @member @occurs @parse @permute @push_back @r_compile @r_findall @r_match @r_search @remove @remove_duplicate @replace @scramble @slice @sort @split @sputter @string2fun @string2proc @strip_path @stutter @system @take @to_num @Tracing @UnTracing
Most functions acting on tabs operate also on strings.