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
-
Determine if a Given Number is a Triangle Number
398 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2538 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1305 Solvers
-
Back to basics 11 - Max Integer
811 Solvers
-
Rounding off numbers to n decimals
5510 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!