Detect capital letters
#4

Well I'm no expert in the field, but I'd guess you'd have to use a for/while loop to "scroll" through all of the characters in the string, then use a big switch thing to detect and eradicate capitals..

for(new a=0; a<strlen(string); a++)
{
switch(string[a])
{
case A: string[a] = a;
case B: string[a] = b;
}
}

NOTE: Except I'd expect you to use indentation :P
Reply


Messages In This Thread
Detect capital letters - by Danny_Costelo - 10.05.2009, 22:14
Re: Detect capital letters - by Weirdosport - 10.05.2009, 22:15
Re: Detect capital letters - by Danny_Costelo - 10.05.2009, 22:20
Re: Detect capital letters - by Weirdosport - 10.05.2009, 22:27
Re: Detect capital letters - by yom - 10.05.2009, 23:48
Re: Detect capital letters - by Weirdosport - 11.05.2009, 00:42
Re: Detect capital letters - by Donny_k - 11.05.2009, 00:47

Forum Jump:


Users browsing this thread: 1 Guest(s)