Problem 462. letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining characters, maintaining the same order as in the original string.
Solution Stats
Problem Comments
-
2 Comments
Andrew Newell
on 18 Apr 2017
If test #1 is correct, there is something about this problem I don't understand:
length(Ly)+Length(Ln) = 23
length(LynLyn) = 25
auto2060
on 18 Jul 2017
yes,the space should all be in the remaining characters.
Solution Comments
Show commentsProblem Recent Solvers501
Suggested Problems
-
433 Solvers
-
Increment a number, given its digits
650 Solvers
-
Reverse the Words (not letters) of a String
440 Solvers
-
Longest run of consecutive numbers
5588 Solvers
-
640 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!