I have this very simple question and for the life of me i can't even google it right.

Code:
        Dim params() As String = args
       
        For Each parameter In params
            If parameter.StartsWith("-") Then
                   Options.Add(parameter)
            End If
        Next
pretty much I am creating a command line program. It will accept arguments so someone can type in

Code:
prog.exe blah blah -t -f -v
All i want it so get the params that start with - and store them in my Options (list of string).
then I want to delete them from the orignal array so I am only left with "blah blah"