🔒 Closed How to take all array elements except last element vb.net?

Status
Not open for further replies.
Dim example_array = {"1st", "2nd", "last"}
Dim stext As String = Nothing
For i = 0 To example_array.Count - 2

stext &= example_array(i) & vbLf

Next
MsgBox(stext)

ganto ba?
 
Dim example_array = {"1st", "2nd", "last"}
Dim stext As String = Nothing
For i = 0 To example_array.Count - 2

stext &= example_array(i) & vbLf

Next
MsgBox(stext)

ganto ba?
Prang ganto ksi yung current array
Array1Array2
AAA
BBB
CCC


Tapos lilipat ko sa tempArray pro di na dapat kasali yun C, CC
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 589
    Views
  • 4
    Participants
Last reply from:
deadsheep

Online now

Members online
653
Guests online
906
Total visitors
1,559

Forum statistics

Threads
2,277,904
Posts
28,979,570
Members
1,229,144
Latest member
Karisma18
Back
Top