ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  StringBuilders Explained
Subject:   VB example
Date:   2003-07-22 08:26:31
From:   anonymous2
Actually this example won't work at all in VB:

Dim st As String
st = "Hello"
st += " World!"

in VB you need to do the following to concatenate a string:

st = "Hello"
st = st & " World!"

Moreover, while I agree that VB has some useful functions for string manipulation, it is definitely not that great, as it lacks string interpolation, escape chars, etc.

1 to 1 of 1
  1. Wei-Meng Lee photo VB example
    2003-07-22 16:46:19  Wei-Meng Lee | O'Reilly Author [View]

    • VB example
      2004-01-05 09:32:06  anonymous2 [View]

    • VB example
      2003-07-24 05:50:55  anonymous2 [View]

1 to 1 of 1