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
-
Swap the first and last columns
23027 Solvers
-
Return the 3n+1 sequence for n
8513 Solvers
-
Arrange vector in ascending order
822 Solvers
-
Who is the smartest MATLAB programmer?
793 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
401 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!