In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the spaces (i.e. 'apple pear' becomes 'apple' 'pear' for str output 1 and 2, final output is 'apple')
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers65
Suggested Problems
-
Return the 3n+1 sequence for n
8520 Solvers
-
4514 Solvers
-
2279 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1280 Solvers
-
Element by element multiplication of two vectors
399 Solvers
More from this Author18
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Additional test cases have been added.