Results 1 to 4 of 4

Thread: sizeof STRING

  1. #1

    sizeof STRING

    I'm looking for a function/method that will tell me the size of a STRING that is passed in from an external function (e.g. could be any size).



  2. #2

    Re: sizeof STRING

    Try this:

    <font class="small">Code:</font><hr /><pre>
    INTEGER getStringSize (STRING str)
    return Len (str)
    </pre><hr />

    p.s. sorry I missed your calls... I was in the meeting


  3. #3

    Re: sizeof STRING

    Len(str) would be better since it's standard SilkTest function and getStringSize() just wraps it, but doesn't do anything else.

  4. #4

    Re: sizeof STRING

    That hit me right after i hit submit [img]/images/graemlins/smile.gif[/img]




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 07:29 PM.

Copyright BetaSoft Inc.