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
 

String Length Limit

Previous Thread :: Next Thread 
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
26 Nov 2013 07:35 PM
Cat fight!..s?

~ℇℸℇℛηαℒℱίℛℇℇαℸℇℛ~
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Nov 2013 07:36 PM
I said it stupidly.

StringValues and TextLabels have limits
Report Abuse
TheGeneralSupreme is not online. TheGeneralSupreme
Joined: 25 Nov 2010
Total Posts: 132
26 Nov 2013 07:56 PM
When I said my PC specs, I meant i have an 8-core 4ghz processor, and 16gb RAM (RAM is necessary a little bit to store the string data (very little!))

Also, I was not just printing a mega string, I was actually making the string that large, and then printing it.
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
27 Nov 2013 06:08 AM
imean...

string.rep(msg,10^9)
Report Abuse
einsteinK is not online. einsteinK
Joined: 22 May 2011
Total Posts: 1015
27 Nov 2013 06:51 AM
String limit is technically unlimited, but depends on RAM and stuff.
A stringvalue's value (or any property containing a string) has a limit.
That limit is 2e5-1 characters.
(Before the limit was added, you could disconnect players and even servers)
(Just put a string value with more than 2e5 characters in worspace or PlayerGui)
(This wont' work anymore (unless you can get an old studio) due the limit)
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
27 Nov 2013 11:35 AM
The max amount of character in chat and string values is now 1000 characters, which is why i was working on a code that find least common factor so I could divide it. and seperate the string using string.sub
Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
27 Nov 2013 11:39 AM
cnt, Stop please, Let moderators moderate, Not children who go to elementary that probably don't know what Mathematical Slopes, A very simple concept, Is..
Report Abuse
einsteinK is not online. einsteinK
Joined: 22 May 2011
Total Posts: 1015
27 Nov 2013 11:41 AM
I thought GUI objects have a limit of 1024 (when typing, not sure when set)
I think you can set it to more, but it'll render only 1024 characters of it
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
27 Nov 2013 11:43 AM
@cool

I mean i'm thirteen, and in the 8th grade. We just finished scientific notation and were moving on to the next subject. I'm learning triganometry on my on off of multiple websites.
Report Abuse
TheGeneralSupreme is not online. TheGeneralSupreme
Joined: 25 Nov 2010
Total Posts: 132
27 Nov 2013 01:08 PM
I was able to store over 10k characters in a string and then call that string..
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
27 Nov 2013 03:34 PM
The max amount of character in chat and string values is now 1000 characters, which is why i was working on a code that find least common factor so I could divide it. and seperate the string using string.sub

Using print on a variable not equal to a object's value in characters can be used as asmany characters.


print(string.rep("1",10000000)

Report Abuse
TheGeneralSupreme is not online. TheGeneralSupreme
Joined: 25 Nov 2010
Total Posts: 132
27 Nov 2013 04:37 PM
It isn't a thousand. I was able to create a string with 100 million characters, print it, and then assign it to something else. The limit is at least 100 million.
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
27 Nov 2013 04:45 PM
I mean try making a code taht has over 1000 characters. try using it in Script builder, work work. Try using a string value with over 1000 character, loadstring it, wont work.
Report Abuse
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
28 Nov 2013 04:48 PM
It is atleast 100,000. I believe it is actually 200,000.
I just tested a string with 5,136 characters, put it into a string value via command bar, then did (print(string.len(instert_path_to_stringvalue_here.Value)) and got back 5136.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
28 Nov 2013 04:49 PM
TextBoxes, TextLabels, Text**, Messages, Hints, StringValues
I think only those have a limit
Report Abuse
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
28 Nov 2013 04:51 PM
Just confirmed that it is actually 32,700.
Report Abuse
Zachiah is not online. Zachiah
Joined: 27 Oct 2013
Total Posts: 1401
28 Nov 2013 04:52 PM
me and cnt are cool rite
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
28 Nov 2013 04:53 PM
^ no, give me hat and I'll thik abou it
Report Abuse
Zachiah is not online. Zachiah
Joined: 27 Oct 2013
Total Posts: 1401
28 Nov 2013 04:59 PM
get bc and ill think about it
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
28 Nov 2013 05:06 PM
buy me bc so I don't have to open my drawer for a card that I'm too lazy to activate
Report Abuse
Previous Thread :: Next Thread 
Page 2 of 2Go to page: 1, [2] Prev
 
 
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