Problem 44296. String Delimination and Outputting
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
goc3
on 8 Sep 2017
Additional test cases have been added.
Solution Comments
Show commentsProblem Recent Solvers60
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
48174 Solvers
-
4449 Solvers
-
Find the sum of the elements in the "second" diagonal
1141 Solvers
-
Back to basics - mean of corner elements of a matrix
405 Solvers
-
4921 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!