Problem 1335. MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string.
For example
A='harsa'; b='harish'; result '1'
The two strings are not equal but match the starting two characters 'ha'.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers294
Suggested Problems
-
Select every other element of a vector
35042 Solvers
-
Find the sum of the elements in the "second" diagonal
1172 Solvers
-
Back to basics 11 - Max Integer
798 Solvers
-
Convert a vector into a number
609 Solvers
-
296 Solvers
More from this Author13
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!