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
-
Find the numeric mean of the prime numbers in a matrix.
9174 Solvers
-
Return the first and last characters of a character array
12438 Solvers
-
515 Solvers
-
Flip the vector from right to left
11453 Solvers
-
Calculate the number of elements in a matrix.
126 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.