fixed it :)
Ended up using the following script with a prompt saving to 'inputname'
name1 = inputname.toLowerCase();
name = name1.charAt(0).toUpperCase() + name1.slice(1);
Search found 3 matches
- Sun Oct 23, 2022 4:36 pm
- Forum: Technical Support
- Topic: Problem with the toLowerCase and toUpperCase function
- Replies: 2
- Views: 1031
- Sun Oct 23, 2022 3:50 pm
- Forum: Technical Support
- Topic: Problem with the toLowerCase and toUpperCase function
- Replies: 2
- Views: 1031
Re: Problem with the toLowerCase and toUpperCase function
Okay now it just gives me the capital letter J (using James)??????
- Sun Oct 23, 2022 3:45 pm
- Forum: Technical Support
- Topic: Problem with the toLowerCase and toUpperCase function
- Replies: 2
- Views: 1031
Problem with the toLowerCase and toUpperCase function
Hey guys I'm trying to make my first webtease but I'm encountering a problem. I have taken the name of the player with a prompt and saved it to a variable called 'name'. I want this to always have a capital first letter and the rest lowercase (because it's a name) and I've tried to do that using an ...
