String Arrays and

Results 1 to 2 of 2

Thread: String Arrays and

  1. #1
    Join Date
    Dec 1969

    Default String Arrays and

    Hi, i have looked all over to find out how to declare an array in using All i found was Dim DateArray(50) as string. How do i do Dim DateArray = ("jan","feb","so forth"). <BR><BR>In java you did this: String months[]= "January","Feburary","March","April","May","June", "July","August","September","October","November"," December"};<BR><BR>How do you do this in

  2. #2
    Join Date
    Dec 1969

    Default RE: String Arrays and

    Dim DateArray() As String = New String() { "jan","feb","mar" }<BR><BR>Though I hope you aren&#039;t *really* doing that, since there is a function that will convert a month number to a month name.<BR><BR>And this is easy to find in the VB.NET docs:<BR><BR><BR><BR>You might want to read the related pages, too.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts