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
-
How to find the position of an element in a vector without using the find function
2814 Solvers
-
Is my wife right? Now with even more wrong husband
1340 Solvers
-
Return the first and last characters of a character array
11842 Solvers
-
425 Solvers
-
549 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!