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 Solvers64
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1988 Solvers
-
Find the largest value in the 3D matrix
1666 Solvers
-
Make a random, non-repeating vector.
11248 Solvers
-
Getting the row and column location from a matrix
299 Solvers
-
1715 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.