Problem 1335. MATCH THE STRINGS (2 CHAR) very easy
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 commentsProblem Recent Solvers282
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8679 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1654 Solvers
-
227 Solvers
-
Back to basics 19 - character types
257 Solvers
-
Generate N equally spaced intervals between -L and L
841 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!