mega_L
2009-03-25 16:08:06 UTC
I'm stuck on my coding when I have to write a function to detect upper cases
has been used in a sentence
For example if my array element has this:
2345
SAINT PAUL
STREET
APT 5
PHILADELPHIA
I need to be able to write a code to let me know that the 2nd OR 3rd OR 5th
element is written in upper case letter
Or if I set the variable not as array, 2345 SAINT PAUL STREET APT 5
PHILADELPHIA
I need to be able to detect that at least one of the section on that street
name is written with upper case
Can anyone help please?
has been used in a sentence
For example if my array element has this:
2345
SAINT PAUL
STREET
APT 5
PHILADELPHIA
I need to be able to write a code to let me know that the 2nd OR 3rd OR 5th
element is written in upper case letter
Or if I set the variable not as array, 2345 SAINT PAUL STREET APT 5
PHILADELPHIA
I need to be able to detect that at least one of the section on that street
name is written with upper case
Can anyone help please?