Get number of actual bytes in a string

  • Thread starter Thread starter TW
  • Start date Start date
T

TW

Hi, i have a unicode string, i want to know how i can get the number of
actaul bytes the string is made up of. If i use str.length this gives number
of characters in the string which is not what i want.

Thanks
 
Back
Top