Difference between revisions of "Array.prefix()"
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
|} | |} | ||
− | See also [[Array.suffix()]] | + | ==See also== |
+ | [[Array.suffix() | suffix]] | ||
+ | |||
+ | [[Array.pieces() | pieces]] |
Latest revision as of 01:40, 4 May 2020
Array.prefix(Prefix)
Returns an array with the Prefix applied to each element.
1..10.prefix("pre")
pre1 |
pre2 |
pre3 |
pre4 |
pre5 |
pre6 |
pre7 |
pre8 |
pre9 |
pre10 |