🔒 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
  • 592
    Views
  • 4
    Participants
Last reply from:
deadsheep

Trending Topics

Online now

Members online
919
Guests online
1,500
Total visitors
2,419

Forum statistics

Threads
2,292,830
Posts
29,079,710
Members
1,209,533
Latest member
dunia_s3m3ntara
Back
Top