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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top