Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Shorten lists to the same length by removing elements from the right
ResourceFunction["TrimRight"][{list1,list2,…}] trims all listi to the length of the shortest list, removing elements from the right. |
Trim the lists by removing elements from the right:
In[1]:= |
Out[1]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License