WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

344

(post is archived)

[–] 0 pt

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?

[–] 0 pt

It wouldn’t work. You need to define the function and also check if the title is all caps first.

[–] 0 pt

Right I didn't do function definitions nor did I create a scope. I wasn't writing a whole program.

[–] 0 pt

It’s not a whole program, it’s just a simple function.