string n = title.text(); n = lowercase(n); for(int i = 0, i < n.length - 1, i++) { if(n[i] == ' ') ToCaps(n[i+1]); }
Fuck me it's been so long since I wrote code. Strings are just arrays IIRC and length is the # of bytes and 1 byte sin a character array = 1 character so it should work?
It wouldn’t work. You need to define the function and also check if the title is all caps first.
Right I didn't do function definitions nor did I create a scope. I wasn't writing a whole program.
It’s not a whole program, it’s just a simple function.
(post is archived)