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 Solvers282
Suggested Problems
-
Getting the indices from a matrix
625 Solvers
-
Create a vector whose elements depend on the previous element
625 Solvers
-
Magic is simple (for beginners)
8367 Solvers
-
5204 Solvers
-
Sum the 'edge' values of a matrix
329 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!