Get kb size of a string?

I can’t find any functions for this.

string.length(str)/1024 roughly.

This is kilo bytes fyi.

[editline]3rd February 2014[/editline]


He did assume bytes, not bits.

divide this by 8 if you want bits

Since there are 8 bits in a byte, wouldn’t you need to multiply by 8?

yes vinh, you fixed it!

What about this? Does this work fine for you?

no! read it!

Oh, sorry.
Didn’t really read the description.