Forum Moderators: coopster
Now I can be wrong but I will also use:
str_word_count -- Return information about words used in a string
This will give you: The number of words
therefore number of space = number of words minus 1
Next add number of char + number of space
Divide result by 1000 = KB (Should be closed enough)
To make it clean set it as function and use that function