I forgot, the "ans" trick when I ran the test function, so *** it is still possible to make it with size 12 and take the lead! ***
does the word "a" in the second test suite not meet the requirements?
That's a good point. It does not, because I assumed words to be at least two letters, but I should put this information in the statement!
\\s* should be replaced by [\\w-]*
tHE BEST ONE!
Make the vector [1 2 3 4 5 6 7 8 9 10]
37070 Solvers
731 Solvers
Make one big string out of two smaller strings
1162 Solvers
Split a string into chunks of specified length
528 Solvers
Who is the smartest MATLAB programmer?
572 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!