| Viewed 85 times

How to Return the Index of All Capital Letters?


I need a function that takes a single string as an argument and returns an ordered array containing the indices of all capital letters in the string.

PHP