0

Characters

Can I compare multiple characters at once ?? For a program to generate random sentences I want “An” to come before words beginning with vowels and the same with “A” but with consonants.

3rd Oct 2018, 11:16 PM
Alexis C. Student
Alexis C. Student - avatar
1 Respuesta
+ 1
You want to compare String or String [] all you have to do is run the first character of the string. ChatAt(0)
4th Oct 2018, 4:16 AM
Daniel (kabura)
Daniel (kabura) - avatar