Problem 967. Split a string into chunks of specified length
Solution Stats
Problem Comments
-
3 Comments
goc3
on 12 Dec 2016
Additional test cases have been added.
Paresh yeole
on 22 Jan 2020
Problem Description says, function should return n*1, however the solutions are 1*n. Kindly, edit the problem description.
Yunpeng Teng
on 5 Dec 2020
Problem say cell is n*1 ,but example is 1*n
Solution Comments
-
1 Comment
Haoran Tian
on 29 Nov 2021
little bit hard
-
1 Comment
A C
on 3 Jan 2021
when the code is rewritten as y = [y {s(S:Ind(E))}];, it includes the spaces. But, when the code is rewritten y =[y cellstr(s(S:Ind(E)))] it leaves the spaces out. Why does it do that?
-
1 Comment
Gregory Fenn
on 15 Dec 2020
The question asks for an Nx1 cell array but the correct answer is a 1xN cell array. Please fix this lie.. it threw me off badly
-
1 Comment
zhiyuan
on 1 Aug 2021
fun
Problem Recent Solvers1196
Suggested Problems
-
576 Solvers
-
4366 Solvers
-
Find out sum and carry of Binary adder
971 Solvers
-
374 Solvers
-
744 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!