Results 1 to 4 of 4

Thread: [RESOLVED]_Last String.split value var[var[0]]

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2008
    Posts
    74

    [RESOLVED]_Last String.split value var[var[0]]

    hi

    I want the msgbox to display sample.ini. For this i need the last value of the splittted array. I know that in another language var[var[0]] would equal to final split, but it does not seem to work in vb. So what equals in vb to final array split?
    vb Code:
    1. Dim vArr As Object
    2.         vArr = Split("C:\NetGame\Common\sample.ini", "\")
    3.         MessageBox.Show(vArr(0))

    Edit: Thanx.
    Last edited by goldenix; Apr 5th, 2008 at 07:54 AM.

    M.V.B. 2008 Express Edition

Posting Permissions

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



Click Here to Expand Forum to Full Width