Menu

String variable handling

Help
2010-02-23
2013-05-30
  • FireAndForget

    FireAndForget - 2010-02-23

    Just wondering if strings are handled as arrays?
    For example:

    Dim message as String
    message = "hello world"

    Can I use message(0) to get the length of the string?

     
  • FireAndForget

    FireAndForget - 2010-02-23

    Oh, and if that's not possible - is there a simple way to get the length of a string?

     
  • Hugh Considine

    Hugh Considine - 2010-02-23

    Yes, you can use message(0) to get the length of the string.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.