In my Arduino project, a string will be received. I understand using .indexof
to find the placement of a certain character in the string. My problem is that I need to find the first occurrence of any letter A-Z and haven't found any resources regarding using or
statements in an .indexof
aka string.indexof("a" || "b" ....)
.
Is this something that is not possible using indexof functions and if so is there any function that I can use to solve this! Thanks!
isupper(char)
: cplusplus.com/reference/cctype/isupper. you can find many chars at once using cplusplus.com/reference/cstring/strcspn