Untitled
unknown
plain_text
3 years ago
219 B
2
Indexable
String s = "SUMmer";
String s3 = "";
int i = s.indexOf('S');
while s.charAt(i) != ' '{
if (i % 2 == 0){
if (s.charAt(i)-48>=97 && s.charAt(i)-48<=122)
s3 +=(char)(s.char(i) +32)
else
s3+= s.charAt(i)
else
}
i++;
}Editor is loading...