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: Calculating How Many Characters or Texts are in a TextBox

Previous Thread :: Next Thread 
SuperiorEternal is not online. SuperiorEternal
Joined: 22 Aug 2009
Total Posts: 2365
25 Jun 2014 01:52 AM
Is there an API for it?
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
25 Jun 2014 03:29 AM
String = "ASDFSDF?@#$" print (#String)
Report Abuse
ThaneDev is not online. ThaneDev
Joined: 08 Apr 2009
Total Posts: 1600
25 Jun 2014 01:56 PM
Yep, just #String
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
25 Jun 2014 01:57 PM
string.len(string)

>print(string.len("hello"))
5
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
25 Jun 2014 02:15 PM
local string_length=string.len('hi')
local string_length=#'hi'
Report Abuse
ThaneDev is not online. ThaneDev
Joined: 08 Apr 2009
Total Posts: 1600
25 Jun 2014 06:05 PM
Guy's, I think we got it, lol
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
25 Jun 2014 06:13 PM
I would use the # operator over string.len.
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