Ben SmithBen Smith
Ben Smith
/
slice
slice
slice

slice

Category
Lists
Accepts
List
Returns
List
Alternative
More
The start index is inclusive and the end index is optional and exclusive.
Examples Used In
Progress Bar
Progress Bar
Ratings
Ratings
Group by Letter
Group by Letter
Found Example Alternatives
Found Example Alternatives
🔢
Increment
Decks & Cards
Decks & Cards
Progress Bar (Old)
Progress Bar (Old)
Simplified Progress Bar
Simplified Progress Bar
College
College
Social Media Planner
Social Media Planner
Timecode Duration
Timecode Duration
Checkbox Progress
Checkbox Progress
Product Feature Rating
Product Feature Rating
Eat the Frog
Eat the Frog
Leading Zeroes
Leading Zeroes
Happiness
Happiness
Emoji Result
Emoji Result
Life Progress
Life Progress
Action Progress
Action Progress
QC Rate
QC Rate
Time Calculator
Time Calculator
Multiple Progress Bars
Multiple Progress Bars
Budget Remaining
Budget Remaining
Location from Time
Location from Time
Random(ish) Number
Random(ish) Number
Manipulating Articles ('The', etc.)
Manipulating Articles ('The', etc.)
Gauge Chart
Gauge Chart
Slice Emojis
Slice Emojis
Ranking Bar
Ranking Bar
Rainbow Progress Bar
Rainbow Progress Bar
Total of Date Numbers
Total of Date Numbers
Templates Used In
Common Uses
New in 2.0
Share Link
https://notion.cool/formulas/slice
Companion Docs
https://www.bensomething.com/notion/formulas/functions/slice
 
Syntax
slice(list, startIndex, endIndex?)
list.slice(startIndex, endIndex?)
Examples
slice([1, 2, 3], 1, 3)
["a", "b", "c"].slice(1)
 
Example 1
Example 2
ion
ello
 
More Info
slice · Notion Formulas · Ben Smith
Returns the items of the list from the provided start index (inclusive) to the end index (optional and exclusive).
slice · Notion Formulas · Ben Smithslice · Notion Formulas · Ben Smith
https://www.bensomething.com/notion/formulas/functions/slice
slice · Notion Formulas · Ben Smithslice · Notion Formulas · Ben Smith