Problem 44004. Get chain of consecutive characters
Write a function that will output a chain of consecutive characters, given 2 letters as input. It has to work backwards too. Examples:
>> get_char_list('a', 'f') abcdef >> get_char_list('p', 'q') pq >> get_char_list('x', 't') xwvut
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers31
Suggested Problems
-
112066 Solvers
-
Return the largest number that is adjacent to a zero
5507 Solvers
-
Is my wife right? Now with even more wrong husband
1339 Solvers
-
147 Solvers
-
determine the sum of the squares
120 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!