i basically just wanted to know if there is a function to retrieve the size of a given string inn KB?
thanks a lot!
If each character is considered to be a byte, just get the length of the string. Then divide that by 1000. I'm assuming you're not working with multi-byte strings.
thanks - i kinda was approaching it like this. thanks a lot!
1024?
yep - 1024 - but i didnt want to be an ass about it ;-)