Announcement

Collapse
No announcement yet.

Getting the BYTE size of a string

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting the BYTE size of a string

    Hi
    I need to know how to get the size of a string in bytes, the string is stored in a buffer[100]. I can get the length of the string using str_Length(), which results in 33.
    but i need the size of the string in bytes, please.

  • #2
    33 is the length/size in bytes.

    Do you need to use str_Ptr around your string address (str_Length() expects a string pointer)?
    Mark

    Comment

    Working...
    X