so I’m storing a string into datastore 2, and the length of the string changes every time.
I have seen that the max string length is 65,536 characters
it also says Data 4,000,000 characters (Documentation - Roblox Creator Hub)
also seen 260,000 characters being said in some discussions
my question is, what is my actual cap when storing strings in datastore?
Maximum data you can store per key in datastores is 4 megabytes or roughly 4.000.000 bytes which is how long can a string be since 1 character takes one byte(Excluding some UTF-8 characters that uses more than one byte to store a character.).
256 kilobytes or 256.000 bytes was the old data size limit until it got increased to 4 megabytes after this announcement.