str = "Hello, World!";str.length/1024*1024; // here's the number of bytes
above is a shorter way to get the string size in bytes
str = "Hello, World!";str.length/1024*1024; // here's the number of bytes
above is a shorter way to get the string size in bytes