What is the maximum string length of a string variable on Android and iOS? Does anyone know?
What is the maximum string length of a string variable on Android and iOS?
Mar 12 2019 12:28 AM
According to posts on StackOverflow, they can theoretically hold 2-4 billion characters:
However as pointed out in the second link the OS will limit the heap to somewhere between 16-256MB, which leads to a practical limit of 4-64 million characters (I don't believe that Lua imposes any limits on top of these). If you need any more than that, I'd be shocked.