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
Problem Comments
-
1 Comment
Dyuman Joshi
on 3 Dec 2020
Needs more test cases.
Solution Comments
Show commentsProblem Recent Solvers61
Suggested Problems
-
Generate N equally spaced intervals between -L and L
938 Solvers
-
615 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
395 Solvers
-
400 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
249 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!