generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How do i know if somthing has to been Capatilized or not?

Previous Thread :: Next Thread 
dairyking45 is not online. dairyking45
Joined: 15 Jul 2010
Total Posts: 209
31 Jul 2011 08:50 PM
How do I?
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
31 Jul 2011 08:53 PM
string.gmatch(phrase,%u)
Report Abuse
dairyking45 is not online. dairyking45
Joined: 15 Jul 2010
Total Posts: 209
31 Jul 2011 08:53 PM
I mean does it..
Report Abuse
scepile3 is not online. scepile3
Joined: 27 Feb 2009
Total Posts: 260
31 Jul 2011 09:27 PM
Wha?

Also, to find out of a property is capitalized there's the object browser or the roblox wiki. To find out if a string has been capitalized, you could break the string into two parts.

The first would be the first letter.
The last would be the rest of the string.

Capitalize the first string in a separate variable, group the two together, and compare that to the original string.
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
31 Jul 2011 09:33 PM
if string.gmatch(phrase,"%u?") ~= nil then
Report Abuse
dairyking45 is not online. dairyking45
Joined: 15 Jul 2010
Total Posts: 209
01 Aug 2011 11:57 AM
Thank you.
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
01 Aug 2011 12:04 PM
You're thanking me, right? :D
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image