[urgent] Calculate the Length of string mixed with doublebyte chra

Discussion in 'Scripting' started by fogcity, Oct 13, 2005.

  1. fogcity

    fogcity Guest

    I hope to count the length of string within VBScript. This sting have double
    byte characters and single byte characters together.

    I try to count with 'LenB' function. but this function treat all characters
    as double byte. (In Excel, the same function return exact results what I
    want.)

    How can I count the exact length of string length within VBScript ?
     
    fogcity, Oct 13, 2005
    #1
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.