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 Solvers59
Suggested Problems
-
Remove any row in which a NaN appears
8438 Solvers
-
Get the length of a given vector
10164 Solvers
-
Basics: 'Find the eigenvalues of given matrix
404 Solvers
-
Multiples of a Number in a Given Range
600 Solvers
-
Back to Basics - Find no. of elements in a matrix?
297 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!