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 comments
Loading...
Problem Recent Solvers301
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6861 Solvers
-
6722 Solvers
-
Reverse the Words (not letters) of a String
477 Solvers
-
Getting the indices from a vector
12504 Solvers
-
425 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!