Problem 2475. Case-insensitive Character Detection

Find the index of a particular character in a string ignoring case.

Example

 Input:   x = 'aAbhhfdf'
          n = 'a'
 Output:  1 2

Because in x, at position 1 and 2 , we have a (ignoring case)

Solution Stats

80.25% Correct | 19.75% Incorrect
Last Solution submitted on Dec 03, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers60

Suggested Problems

More from this Author70

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!