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
-
Project Euler: Problem 7, Nth prime
1751 Solvers
-
Number of 1s in a binary string
10983 Solvers
-
Given a window, how many subsets of a vector sum positive
871 Solvers
-
Create an index-powered vector
938 Solvers
-
613 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!