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

540 Solutions

300 Solvers

Last Solution submitted on Feb 12, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers300

Suggested Problems

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!