Qurak
文档
价格
登录
Qurak
文档
函数
SplitBy
SplitBy
可用
Splits list at boundaries where a function changes value.
形式
SplitBy[list, f]
SplitBy[list, {f1, f2, …}]
SplitBy[f]
验证过的示例
SplitBy[{1, 2, 3, 4, 5}, EvenQ] → {{1}, {2}, {3}, {4}, {5}}
在 Qurak 上运行
搜索参考
主题
Functional Programming
- List-Oriented Functions »
New In70 Alphabetical Listing
- S
New In70 Core Language
- New in List Manipulation
New In70 Lists And Matrices
- List Operations
Rearranging And Restructuring Lists
- Sequence-Oriented Operations
Summary Of New Features In150
- Core Language
相关
Split
GatherBy
DeleteAdjacentDuplicates
SequenceSplit
Partition
SortBy
DeleteDuplicates
Gather
ArrayPad
HoldCompleteForm
Ratios
Stack
← Split
SpokenString →
全部 6300 个函数
·
从 MCP 客户端使用